Solved

Exchange 2013 Archive / Delete Policy

Posted on 2016-09-01
7
76 Views
Last Modified: 2016-09-07
Hi everyone. I currently have a policy set up where our Exchange 2013 Enterprise Server archives any messages that are over 1-year old. Now that there are people here a number of years we would like to add a policy that will delete anything over 3-years old from the Archive folders. I was under the impression (which is probably incorrect) that the policies only impact regular mailbox folders not archives. Is it possible for me to do this? If so, how? Preferably without using anything 3rd party.

Thanks.
Jon
0
Comment
Question by:Jon DeVito
  • 4
  • 3
7 Comments
 
LVL 15

Expert Comment

by:Todd Nelson
ID: 41782261
As I understand, it depends on what retention tags are applied in a retention policy.  The "default" retention tag is applied to all folders in an entire mailbox--regardless if it is a "regular" mailbox or its associated "archive".

Based on your description, I assume all mail items are moved to the "archive" after 1 year (365 days) and then permanently deleted after 3 years (1095 days).  Is this correct?

Again, I assume you want no mail items older than 3 years in any mailboxes (regular or archive) that have the retention policy assigned.

If my assumptions are correct, then the retention tag to delete all mail items older than 3 years will not effect the "regular" mailbox but only what is in the "archive" as the "regular" mailbox should not have any mail items older than 1 year in it.

Am I understanding you correctly?

Unfortunately, the retention tags do not allow us to target folders only in the "archive", and we are unable to assign multiple retention policies to a mailbox or a separate retention policy to target the "archive" specifically.

I hope this helps.

References:
0
 
LVL 3

Author Comment

by:Jon DeVito
ID: 41783129
Thanks a lot Todd. I actually tried adding a retention tag to a default policy & it doesn't seem to work on Archive mailboxes.
Yes all assumptions above are correct.
Not sure if I need to turn something on to make it look at the Archives or even if there was a way to make the archive delete the oldest items when it hits the limit.

Thanks.
Jon
0
 
LVL 15

Accepted Solution

by:
Todd Nelson earned 500 total points
ID: 41783329
Personally, I wouldn't use the default policy; "Default MRM Policy".  I recommend making your own (custom) retention tags and retention policy.  Then set the retention policy for all or individual mailboxes...

Get-Mailbox -ResultSize Unlimited | Set-Mailbox -RetentionPolicy "RETENTION_POLICY_NAME

Open in new window


Set-Mailbox -Identity "USER_ALIAS" -RetentionPolicy "RETENTION_POLICY_NAME"

Open in new window


After the policies are set, the policies have to be enforced for all or an individual mailbox to run...

Get-Mailbox -ResultSize Unlimited | Start-ManagedFolderAssistant

Open in new window


Start-ManagedFolderAssistant –Identity “USER_ALIAS”

Open in new window


If you have a user mailbox that has been enabled for in-place archive, then the retention policy will be applied to both the user mailbox and the associated archive.  There isn't anything different or more that needs to be done to configure retention settings for the archive.

"When you enable a retention tag, you must specify a retention age for the tag. This age indicates the number of days to retain a message after it arrives in the user's mailbox."

You don't have an in-place hold set on the mailboxes you are testing the retention policies with, do you?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 3

Author Comment

by:Jon DeVito
ID: 41785477
Thanks a lot. I think it took some time to kick in but may be working. I asked this person to clean out their old stuff so to be positive it wasn't them that deleted everything I applied it to a few of the old mailboxes. I'll let you know shortly if its all good. Thanks again for the help.

Jon
0
 
LVL 3

Author Closing Comment

by:Jon DeVito
ID: 41787928
Looks like its working. Thanks for the clarification. Any idea if there is a way to see the process or the queue of whats left to be done? We have so many huge mailboxes that the "pruning" is taking a long time & really bogging down the servers.

Thanks again!
Jon
0
 
LVL 15

Expert Comment

by:Todd Nelson
ID: 41787987
The initial processing of all mailboxes will take a toll on the server but, by default, are throttled automatically.

The Managed Folder Assistant, a mailbox assistant that runs on Mailbox servers, processes mailboxes that have a retention policy applied.

The Managed Folder Assistant applies the retention policy by inspecting items in the mailbox and determining whether they're subject to retention. It then stamps items subject to retention with the appropriate retention tags and takes the specified retention action on items past their retention age.

The Managed Folder Assistant is a throttle-based assistant. Throttle-based assistants are always running and don't need to be scheduled. The system resources they can consume are throttled. You can configure the Managed Folder Assistant to process all mailboxes on a Mailbox server within a certain period (known as a work cycle). Additionally, at a specified interval (known as the work cycle checkpoint), the assistant refreshes the list of mailboxes to be processed. During the refresh, the assistant adds newly created or moved mailboxes to the queue. It also reprioritizes existing mailboxes that haven't been processed successfully due to failures and moves them higher in the queue so they can be processed during the same work cycle.

- Retention tags and retention policies ... https://technet.microsoft.com/en-us/library/dd297955(v=exchg.150).aspx

If you want to immediately stop the processing of retained items look at Stop-ManagedFolderAssistant ... https://technet.microsoft.com/en-us/library/bb123532(v=exchg.150).aspx

Otherwise, you can configure the Managed Folder Assistant ... https://technet.microsoft.com/en-us/library/bb123958(v=exchg.150).aspx
0
 
LVL 3

Author Comment

by:Jon DeVito
ID: 41787995
Awesome, thanks again for the help!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question