Skip Ribbon Commands
Skip to main content

Unexpected error mail-enabling Public Folder "foldername": Shell: exception while executing PowerShell. Cause: Shell: exception while executing PowerShell.

Last Update: 7/21/2017 11:34 AM
This article has been moved to our new Help Center. Please update your bookmarks.
​​​​Unexpected error mail-enabling public folder "foldername": Shell: exception while executing PowerShell. Cause: Shell: exception while executing PowerShell.​​

​Answer:​​​​

 

This error occurs when an attempt to mail-enable a Public Folder is made with an account that is not part of the "Organization Management" role group. To resolve this issue, run the following in a remote PowerShell session connected to the Destination tenant, to add the migration account to the Organization Management role group, where user ​is the Destination migration account being used:​

​​Add-RoleGroupMember "Organization Management" -Member user