We were trying to edit some permission of a recently migrated Public folder from the Exchange Admin Center  2013 but kept getting the following error

500 unexpected error – and error occurred and your request couldn’t be completed. Please try again

It was found later that the problem Public folders had some Unresolved SID’s ACLed on them, So the solution was to remove the unresolved Sid’s. Following Command can be used for the purpose assuming that Unresolved Sid’s usually starts with NT

Get-PublicFolder -Recurse | Get-PublicFolderClientPermission | where { $_.User -like ‘NT*’ } | Remove-PublicFolderClientPermission

However in some cases the non-existent users simply do not end up as unresolved SID’s, so in such case I would recommend that take a manual dump of permission of the public folder and simply remove the access of the accounts which you think are not active or are deleted.

get-publicfolder -recurse | Get-publicfolderclientPermission

Just ensure that you keep the permission of the Admin user intact and rest of the users can also be re-added if they are removed by mistake. Use the following command to remove the users which you think are not active.

Get-publicfolder -recurse | Remove-PublicFolderClientPermission -User “UserName to be removed” -ErrorAction -SilentlyContinue

Hopefully after this you should be able to edit the Public folder permissions, else you do have an option to reach out to us for paid support here

The following two tabs change content below.
An automobile enthusiast at heart and computer geek by profession, started my Career with MS in 2005.Left Jobs and started Pledge Technologies (the parent company to Grishbi) back in 2009.We have been providing IT consulting to various Small and Medium businesses across US and UK since then.Our company specialises in Microsoft Server technologies like AD, Exchange, the rest and with numerous Office 365 migrations under our belt, we quite an expert with that too. Whatever we learn in our day to day life, we share it back on Grishbi as a Thank for all the love and support our customers have given us.
%d bloggers like this: