Knowledge Base

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 permissions to edit and delete items in public folders in Exchange Server 2010 and newer. You should use the same account which you used while configuring the source connection in your CodeTwo migration software.

  1. Open the ems Exchange Management Shell.
  2. Type the following command:

    Add-PublicFolderClientPermission -Identity "\folder_name" -User "user_name" -AccessRights EditAllItems
  3. Type the command below:

    Add-PublicFolderClientPermission -Identity "\folder_name" -User "user_name" -AccessRights DeleteAllItems
  4. 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

See also:

Was this information useful?