Removing Managed Folders after Migrating to Retention policies
Posted on 2011-03-01
We upgraded from exchange 2007 to 2010.
In 2007 we uses MRM to manage the age of items in the inbox. After 30 days, the items would be moved to a ManagedCustomFolder called "Deleted Inbox Items". Now that we upgraded, I created a Retention policy that does the same where after 30 days the items are removed and 14 days after they are gone from recoverable.
So now that the Retention policy is in place and applied to everyone, I wanted to remove the old Managed Folder items.
I used 'remove-managefoldermailboxpolicy' and deleted the policy.
Now the problem... When I went to remove the custom managed folders I get
cmdlet Remove-ManagedFolder at command pipeline position 1
Supply values for the following parameters:
Identity: Deleted Inbox Items
Managed Folder <Deleted Inbox Items> cannot be deleted. Another folder is configured with a retention action that moves
items into this folder. You must change the destination of the rentention action for folder <Inbox> for content settin
g <Inbox items older than 30 days>.
+ CategoryInfo : InvalidOperation: (Deleted Inbox Items:ADObjectId) [Remove-ManagedFolder], InvalidOperat
+ FullyQualifiedErrorId : 6D00D1AB,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveManagedFolder
I assume this means that this folder thinks there is still a policy wanting to move items into it....
But I have nothing listed under Get-ManagedFolder-MailboxPolicy and AFAIK the retention policies do not support moving to custom managed folders... So where else can I look to find the culprit that is keeping me from deleted the managedcustomfolders?