Pro-Exchange,Lync & Office 365
Belgian Microsoft Unified Communications Professionals
Microsoft Exchange Server, Microsoft Lync Server & Office 365
Basic housekeeping with Exchange 2010 SP1 Retention Policies

Archiving and Retention are hot topics since Exchange Server offers this feature out of the box.

For starters, let me explain the situation. I’m currently working for a customer that uses a 3rd party product that archives all mail, for everybody forever (which amounts to about 4Tb). Except for the Deleted Items and the Calendar, neither of these are archived.


On the contrary, we actually need to ensure these items are removed after 30 resp. 395 days. Let’s have a look at how we can do some basic housekeeping using Exchange Server 2010 Service Pack 1.

Note: Exchange Server 2010 actually offers 2 solutions for this type of request; Retention Policies and Managed Folders. Managed Folders come from Exchange 2007 and were replaced in EMC (Exchange Management Shell a.k.a. “the GUI”) by Retention Policies from SP1 onwards. We’ll use Retention Policies for this post.

First of all we need to set up Retention Policy Tags. These are smaller building blocks that can be combined in to full-fledged policies later on. Remember: only one policy can be applied to a given mailbox. However a Policy Tag can be used in multiple policies. So there is some level of abstraction.

In our example we will need to set up two Policy Tags:

  • the first one to ensure Deleted Items are permanently deleted after 30 days
  • the second one to ensure Calendar entries are permanently deleted after 395 days

Let’s start with the first one. Retention Policy Tags can be found under Organization Configuration > Mailbox. A number of default Tags are available but none that matches our needs. So we need to create one of our own. You can do so by choosing “New Retention Policy Tag”. Come up with a name for your tag, select the appropriate type and an age limit.


The second on is a little bit harder. If you look care fully to the screenshots above you’ll notice that there no Tag Type Called “Calendar” available in the drop down list. The EMS (Exchange Management Shell) cmdlet “New-RetentionPolicyTag” does know about this type however. The Policy does become visible in the GUI afterwards.


Cool, now let’s combine these tags in a policy. As usual you can do it either via EMS or EMC. Select “New Retention Policy” in the same action pane as above. Provide a name for it, select the appropriate tags and specify some mailboxes to apply the policy on. Sit back and admire your first retention policy.


<Insert 3 weeks of rainy holiday>

Now let’s check whether our retention policy actually works as expected.

First of all you can see the tags applied to a folder in Outlook Web App:


You can monitor the days remaining before a specific item will expire:


Once the policy kicks in the item count decreases:


Likewise, but this item in Outlook, you can see the item count decreasing for calendar entries


All there’s is left to do is applying the policy to the remainder of the user base, but don’t forget to skip the CEO’s mailbox ;-)

Hope you enjoyed reading my first post on pro-exchange.

Posted 08-11-2011 1:35 by Koen Vermoesen
Filed under: , ,


Exchange 2010 wrote Applying “housekeeping” retention policies to the end users
on 08-26-2011 3:19

In my previous blog post I wrote about a basic retention policy for doing some basic housekeeping using

Events wrote TEC Europe 2011– Day 2
on 10-18-2011 10:39

Panel Discussion The day started with a panel discussion which we found very interesting. Unfortunately

garylibero wrote re: Basic housekeeping with Exchange 2010 SP1 Retention Policies
on 11-04-2011 7:49


Just were you able to do this if the Retention Policy Tags for Calendars and Tasks aren't supported in Exchange 2010 SP1???

I'm looking to set up a 365 day retention policy on our users' calendars, and when I ran the New Retention Tag cmdlet in the EMC, it returned an error.

I read through your article a few times, and it looks like you are using Exchange 2010 SP1 (unless I missed something).

Koen Vermoesen wrote re: Basic housekeeping with Exchange 2010 SP1 Retention Policies
on 02-01-2012 10:35

Hi Gary,

Yes this article was indeed based on SP1. I'm not sure if there was an additional rollup hotfix installed at the time of writing the post. As mentioned above; you can set up a tag for the calender via EMS. Afterwards it becomes visible, but not editable, in EMC.



computer forensics training orlando wrote computer forensics training orlando
on 09-07-2014 7:13

Basic housekeeping with Exchange 2010 SP1 Retention Policies - Exchange 2010 - Pro-Exchange,Lync & Office 365

live skor wrote live skor
on 09-10-2014 2:57

Basic housekeeping with Exchange 2010 SP1 Retention Policies - Exchange 2010 - Pro-Exchange,Lync & Office 365

hack Game of war fire age wrote hack Game of war fire age
on 09-15-2014 7:42

Basic housekeeping with Exchange 2010 SP1 Retention Policies - Exchange 2010 - Pro-Exchange,Lync & Office 365