Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Removing Managed Folders after Migrating to Retention policies

Posted on 2011-03-01
4
Medium Priority
?
1,300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

618 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