Retention Policy for Calendar Items in Exchange 2010

As we all know by now, you can no longer use Retention Policy and Retention Tags on Calendar items in Exchange 2010. So, how would you clean up user’s old Calendar items? Managed Folder saves the day!

Here are the powershell commands to create ManagedFolder and policy:

New-ManagedFolder -Name ‘DefaultCalendar’ -DefaultFolderType Calendar -MustDisplayComment $false

New-ManagedContentSettings -FolderName DefaultCalendar -MessageClass IPM.Appointment -Name DefaultCalendarContentSettings -RetentionEnabled $true -RetentionAction MoveToDeletedItems -AgeLimitForRetention “1”

New-ManagedFolderMailboxPolicy -Name “DefaultCalendarPolicy” -ManagedFolderLinks DefaultCalendar

Set-mailbox -identity johndoe -ManagedFolderMailboxPolicy “DefaultCalendarPolicy”

Start-ManagedFolderAssistant -Identity Johndoe

The most important part is IPM.Appointment. I’ve tried other suggestions from technet such as “Calendar”, but this is the only one that works.

Note, -AgeLimitForRetention “1” means one day. So the policy should move any Calendar items older than 1 day from your Calendar to Deleted Items folder.


About Ron He

Exchange 2010 MCM
This entry was posted in Exchange 2010 and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s