How do I ensure the admin account being used for Public Folder migration has permissions on all Public Folders?
Exchange 2007 and Exchange 2010:
Run the following cmdlet to ensure that the admin 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 user to equal the name of the admin 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, you will need to ask their support department to run this PowerShell script for you. If they do not want to provide "owner" access rights, then ask them to add "read" access rights.