Create Retention Tag for Inbox
Posted on 2011-02-28
I am trying to create a retention tag that simply takes anything in the "Inbox" that is older than 365 days and move to archive folder. I am using a sample mailbox for testing. All I want to do is take all folders including Inbox, Deleted, and Sent and move anything in those to the Archive folder if they are older than 365 days. I have enabled Archive on the sample mailbox.
I create the retention tag with Inbox Move to Archive older than 365, click NEW and it errors with this:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
Archive Inbox older than 1 Year
Unable to execute the task, reason: MoveToArchive can only be applied to tags of type default ('All'), Personal or RecoverableItems.
Exchange Management Shell command attempted:
New-RetentionPolicyTag -Name 'Archive Inbox older than 1 Year' -Type 'Inbox' -Comment '' -AgeLimitForRetention '365.00:00:00' -RetentionAction 'MoveToArchive' -RetentionEnabled $true
Elapsed Time: 00:00:00
Then I was going to create a Retention policy to include this tag and the sample mailbox. I want to use ALL FOLDERs but the All Other Folders seems to address anything not included in a previous tag. What am i not understanding?
Create a Policy tag,
Create a policy,
Assign a mailbox.