Oct 09 2015

Exchange Default Retention Policy Does Not Apply

Published by at 1:35 pm under Exchange




You have configured in EAC or Powershell a retention policy that should clean up your deleted items for instance but it does not apply to your mailboxes.
 
As suggested on Microsoft, the default policy is applied when you create an archive for the mailbox. But you’re unlucky since the archive feature in Exchange 2010 and 2013 requires an enterprise cal or a Microsoft Office Professional Plus product and you did not go for this option you could not afford.
 
All is not lost!
You’re still able to create your own retention policy and apply it to all of your mailboxes quite easily.
Navigate to Compliance Management > Retention Tags and then Retention Policy to create your own rules.
You can then apply the new policy going into your mailbox properties.
To avoid spending some extra time in this or forgetting some mailboxes, you can automate the process to all of them within a powershell script you schedule every weekend:
 

add-pssnapin Microsoft.Exchange.Management.PowerShell.SnapIn

Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize unlimited | 
Set-Mailbox -RetentionPolicy "My Retention Policy"

Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize unlimited | 
Set-Mailbox -RetentionPolicy "My Retention Policy"

Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize unlimited | 
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize unlimited | 

Start-ManagedFolderAssistant

 
Start-ManagedFolderAssistant is not mandatory but processes mailboxes immediately.


No responses yet

Trackback URI | Comments RSS

Leave a Reply