DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2888612 - Last Review: November 25, 2013 - Revision: 2.0

Symptoms

When you run a cmdlet in Exchange Management Shell to apply a retention policy that moves email messages from a user’s mailbox to the user’s archive mailbox in a Microsoft Exchange Server 2013 environment, the retention policy does not work. For example, you create a retention policy by running one of the following cmdlets:
  • New-RetentionPolicyTag "ArchiveTag" -Type All -RetentionEnabled $true -AgeLimitForRetention 90 -RetentionAction MoveToArchive
  • New-RetentionPolicy PolicyName -RetentionPolicyTagLinks "ArchiveTag"
  • Set-Mailbox Mailbox -RetentionPolicy PolicyName
  • Start-ManagedFolderAssistant -Identity Mailbox

Cause

This issue occurs because a System.InvalidCastException exception occurs when Managed Folder Assistant tries to process mailboxes.

Resolution

To resolve this issue, install the following cumulative update: 
2892464  (http://support.microsoft.com/kb/2892464/ ) Description of Cumulative Update 3 for Exchange Server 2013

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

For more information about the New-RetentionPolicyTag cmdlet, go to the following Microsoft website:
General information about the New-RetentionPolicyTag cmdlet (http://technet.microsoft.com/en-us/library/dd335226(v=exchg.150).aspx)
For more information about the New-RetentionPolicy cmdlet, go to the following Microsoft website:
General information about the New-RetentionPolicy cmdlet (http://technet.microsoft.com/en-us/library/dd297970(v=exchg.150).aspx)
For more information about the Set-Mailbox cmdlet, go to the following Microsoft website:
General information about the Set-Mailbox cmdlet (http://technet.microsoft.com/en-us/library/bb123981(v=exchg.150).aspx)
For more information about the Start-ManagedFolderAssistant cmdlet, go to the following Microsoft website:
General information about the Start-ManagedFolderAssistant cmdlet (http://technet.microsoft.com/en-us/library/aa998864(v=exchg.150).aspx)


Applies to
  • Microsoft Exchange Server 2013 Enterprise
  • Microsoft Exchange Server 2013 Standard
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseinter KB2888612
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support