Link to home
Start Free TrialLog in
Avatar of MikeKane
MikeKaneFlag for United States of America

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-managefoldermailboxpolicy' and deleted the policy.  

Now the problem...   When I went to remove the custom managed folders I get
[PS] C:\Windows\system32>Remove-ManagedFolder

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.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?  
Avatar of praveenkumare_sp
praveenkumare_sp
Flag of India image

Where are u running this on 2007 or 2010 Shell

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
ASKER CERTIFIED SOLUTION
Avatar of MikeKane
MikeKane
Flag of United States of America 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
lol this was a known issue :)
Avatar of MikeKane

ASKER

See above post for the solution to my issue