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 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.

Granting permissions to edit and delete items in public folders in Exchange Server 2003

  1. Open the Exchange Management Console.
  2. Choose Folders, Public Folders in the folder tree.
  3. Choose any folder you want to add permissions to.
  4. From the context menu, choose Properties.

    Fig. 1. Editing the properties of public folders in Exchange 2003.

  5. In the Permissions tab, click Client permissions.

    Fig. 2. The Permissions tab in Exchange 2003.

  6. 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.

    Exchange Migration - Public Folders permissions
    Fig. 3. Changing permissions for the service account user.

  7. Repeat the procedure for all public folders that need to be migrated using the CodeTwo software.

Granting permissions to edit and delete items in public folders in Exchange Server 2007 and newer

  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?