Applies to: Exchange Server 2007 SP1
Topic Last Modified: 2008-11-20

This topic provides information about how to troubleshoot an error message that may occur when you run the following Export-Mailbox cmdlet:

export-mailbox -identity <MailboxIdParameter> -pstfolderpath <Path_Of_PST_File>

When you run this cmdlet on a computer that is running Microsoft Exchange Server 2007 Service Pack 1 (SP1), you may receive the following error message:

MAPI or an unspecified service provider.

ID no: 00000000-0000-00000000, error code: -1056749164

This error may occur if the current logon account does not have full access permission to the source mailbox that you want to export.

To resolve this issue, you must grant the account you use the following permissions:

To correct this error

  1. Use the Exchange Management Console to add the user account to the Exchange Server administrator role on the source server and the target server.

  2. Add the user account to the Local Administrators group on the source server and on the target server.

  3. Use the Add-MailboxPermission cmdlet in the Exchange Management Console to grant full access to the mailbox on the source server and the target server. 

For more information about how to perform this procedure, see the following topics:

To use the Add-MailboxPermission cmdlet to grant full access to the mailbox

  1. Start the Exchange Management Console.

  2. Run the following cmdlet:

    Copy Code
    Add-MailboxPermission -Identity <Mailbox_Alias> -User <Exchange_Server_Administrator> -AccessRights FullAccess