MikeKane
asked on
Removing Managed Folders after Migrating to Retention policies
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-managefoldermailbo xpolicy' and deleted the policy.
Now the problem... When I went to remove the custom managed folders I get
[PS] C:\Windows\system32>Remove -ManagedFo lder
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
ionException
+ FullyQualifiedErrorId : 6D00D1AB,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Re moveManage dFolder
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-MailboxP olicy 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?
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-managefoldermailbo
Now the problem... When I went to remove the custom managed folders I get
[PS] C:\Windows\system32>Remove
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
ionException
+ FullyQualifiedErrorId : 6D00D1AB,Microsoft.Exchang
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-MailboxP
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
lol this was a known issue :)
ASKER
See above post for the solution to my issue
Run this on 2007 and specify the server name for the attribute -Server
If u cant do the above open EMC in 2007 and delete it using the GUI