Solved

Removing Managed Folders after Migrating to Retention policies

Posted on 2011-03-01
4
1,276 Views
Last Modified: 2012-05-11
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?  
0
Comment
Question by:MikeKane
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:praveenkumare_sp
ID: 35051139
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
0
 
LVL 33

Accepted Solution

by:
MikeKane earned 0 total points
ID: 35055982
The question said that I upgraded from 2007 to 2010.  

It actually turns out there was also a "managedContentSetting" on the inbox which prevented the managed folder, which was the recipient of the copy item.    Once I cleared the content setting, I was able to remove the managed folder.
0
 
LVL 8

Expert Comment

by:praveenkumare_sp
ID: 35061417
lol this was a known issue :)
0
 
LVL 33

Author Closing Comment

by:MikeKane
ID: 35115111
See above post for the solution to my issue
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question