Link to home
Start Free TrialLog in
Avatar of cobmo
cobmoFlag for United States of America

asked on

Create Retention Tag for Inbox

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
Failed
Error:
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.

Avatar of praveenkumare_sp
praveenkumare_sp
Flag of India image

Try re-creating the tag for inbox
Avatar of cobmo

ASKER

I created a tag using the All Other folders instead of just Inbox.  It worked.
ASKER CERTIFIED SOLUTION
Avatar of praveenkumare_sp
praveenkumare_sp
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial