Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Unable to execute the task" error when you try to create a retention policy tag that has the "Move to Archive" action


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You install Microsoft Exchange Server 2010.
  • You create a retention policy tag (RPT).
  • The RPT has the "Move to Archive" tag.
In this scenario, you receive an error message that resembles the following:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
archive "Inbox"
Failed
Error:
Unable to execute the task, reason: MoveToArchive can only be applied to tags of type default ('All'), Personal or RecoverableItems.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.355.1&t=exchgf1&e=ms.exch.err.Ex212177
Exchange Management Shell command attempted:
New-RetentionPolicyTag -Name 'archive "Inbox"' -Type 'Inbox' -Comment '' -AgeLimitForRetention '180.00:00:00' -RetentionAction 'MoveToArchive' -RetentionEnabled $true
Elapsed Time: 00:00:00

However, you can create a retention policy tag that has a different action and then change the action to the "Move to Archive" action. For example, you can create a retention policy tag that has the "Permanently Delete" action and then change the action to "Move to Archive."�

↑ Back to the top


Cause

This issue occurs because the "Move to Archive" action is not supported for an RPT. The "Move to Archive" action is available only for a default policy tag (DPT) or a personal tag.

Note�You can create an RPT that has a different action and then change the action to the "Move to Archive" action. However, this configuration is not supported.

↑ Back to the top


Resolution

To prevent this issue, do not create an RPT that has the "Move to Archive" action. Additionally, do not create an RPT that has a different action and then change the action to the "Move to Archive" action.

Note If you created an RPT and then change the action to the "Move to Archive" action, revert to the original action, or delete the RPT.

↑ Back to the top


More information

For more information about retention policies and retention tags, visit the following TechNet website:For more information about how to create a retention policy, visit the following TechNet website:

↑ Back to the top


Keywords: KB2710767, kbprb, kbtshoot, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2710767
Revision : 1
Created on : 9/28/2012
Published on : 9/28/2012
Exists online : False
Views : 396