How do I ensure the administrator account being used for an Exchange 2007+ Public Folder migration has permissions on all Public Folders?
Exchange 2007 and Exchange 2010:
Run the following cmdlet to ensure that the administrator account that is being used for your Public Folder migration has the necessary permissions on all Source Public Folders:
Get-PublicFolder –Server <ServerName> -recurse | Add-publicfolderclientpermission –Server <ServerName> -User "domain.local/user/migrationwiz" –accessrights "owner"
Add-PublicFolderClientPermission -identity <Public Folder> -User Anonymous -AccessRights CreateItems
Get-PublicFolder –Recurse | Add-PublicFolderClientPermission –User O365Admin –AccessRights Owner
- Change the user name in the cmdlet to be the name of the administrator account that is performing the Public Folder migration.
- Being a member of the Public Folder Management Group does not provide enough permissions to perform a Public Folder migration.
- When migrating from a Hosted Exchange provider (Source), you will need to ask their support department to run this PowerShell cmdlet for you. If they do not want to provide "owner" access rights, then ask them to add "read" access rights. In many situations, "read" access may grant enough access for the Source Public Folders to be read properly, however, if issues are encountered, "owner" permissions will be required.
- "Owner" permissions are required for the Destination in order for the administrator to create the necessary items.