Link to home
Start Free TrialLog in
Avatar of Sedgwick_County
Sedgwick_CountyFlag for United States of America

asked on

Exchange 2010 Public Folder

I have a pesky public folder that will not delete.  I have full ownership of the folder and it is NOT mail enabled.   I have ran the following command:

Remove-PublicFolder -Identity "\TOP LEVEL\FOLDER"

Open in new window


Once this runs I receive the following error:

Cannot delete the object '\TOP LEVEL\FOLDER'. Please make sure that you specified the correct identi
ty and that you have the correct permissions to delete it.
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-PublicFolder], MapiPartialCompletionException
    + FullyQualifiedErrorId : 89B186E0,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder


Any help would be greatly appreciated!
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

If you run get-publicfolder -identity "\top\folder" does it return the folder correctly?

Simon.
Public folders sit on top of two different hidden root folders,
NON_IPM_SUBTREE and IPM_SUBTREE
run
get-publicfolder "\top\folder" | remove-publicfolder
in EMS to make sure the appropriate path is passed to remove-publicfolder.
Avatar of Sedgwick_County

ASKER

Yes, I can do a get-publicfolder on that specific folder and it returns results.

When I run the command
get-publicfolder "\top\folder" | remove-publicfolder 

Open in new window


I get the following error
Cannot delete the object '\tp[\folder'. Please make sure that you specified the correct identi
ty and that you have the correct permissions to delete it.
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-PublicFolder], MapiPartialCompletionException
    + FullyQualifiedErrorId : A52FC5BA,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder


I checked and I do have owner permissions on the folder.  Thanks!
What happens if you try to remove it through Outlook?
What happens if you try to rename it?

Simon.
When I try to delete the folder it says;

Cannot delete this folder. Right-click the folder, and then click Properties to check your permissions for the folder.  See the folder owner or your administrator to change your permissions.  Some items cannot be deleted.  They were either moved or already deleted, or access was denied.

I am able to rename the folder with no issues.
See if you can find the public folder in ADSIEDIT and check that permission inheritance is enabled.

Simon.
Where would I find that in ADSIEDIT?  I went looking and only found the main public folder but unable to go deeper.  

I also tried to move the public folder into another one.  I then tried to delete the parent folder and that did not work.
ASKER CERTIFIED SOLUTION
Avatar of Sedgwick_County
Sedgwick_County
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
System folder