Solved

Exchange 2013 Archive / Delete Policy

Posted on 2016-09-01
7
54 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 14

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 14

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
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 
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 14

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

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now