How to fix problems with migration of public folders caused by insufficient permissions
Migration of public folders is not possible due to insufficient permissions. When trying to process public folders, the program is reporting the following (or similar) errors:
Unable to upload this item: <item name> - <item ID>. MAPI function GetPropList failed. Access denied (MAPI_E_NO_ACCESS) (0x80070005).
Failed to get folder contents table. Access denied (MAPI_E_NO_ACCESS) (0X80070005)
To resolve the issue, you need to assign Owner rights to all problematic public folders, for the account that is used to establish the source connection.
Otherwise, any MAPI-related software that attempts to access public folders may work only partially or might not work at all, depending on permissions that are currently assigned.
Please follow the steps below to grant the necessary rights, depending on your Exchange Server version.
You should use the same account which you used while configuring the source connection in your CodeTwo migration software.
- Open the Exchange Management Console.
- Choose Folders, Public Folders in the folder tree.
- Choose any folder you want to add permissions to.
- From the context menu, choose Properties.
- In the Permissions tab, click Client permissions.
- In the Client permissions dialog box, select the account which was used to configure the source connection in the CodeTwo migration software of your choice. Choose Owner from the list of Roles.
- Repeat the procedure for all public folders that need to be migrated using the CodeTwo software.
- Open the Exchange Management Shell.
Type the following command:
Add-PublicFolderClientPermission –Identity "\folder_name" –User "user_name" –AccessRights EditAllItems
Type the command below:
Add-PublicFolderClientPermission –Identity "\folder_name" –User "user_name" –AccessRights DeleteAllItems
- Repeat the procedure for all public folders that need to be migrated using your CodeTwo migration software.
You can also grant the permissions to edit and delete to the root folder of your public folders. To do this, type the following commands:
Add-PublicFolderClientPermission –Identity "\" –User "user_name" –AccessRights EditAllItems
Add-PublicFolderClientPermission –Identity "\" –User "user_name" –AccessRights DeleteAllItems