Quick Tip– Error Occurred in step: Moving Messages – MAPI or an unspecified service provider – ID no: 00000000-0000-00000000, error code:–1056749164…

Linked to my previous post here after I had solved one issue I was immediately faced with another.

Even though I was now past the “Approving Object” error – I now had a “Moving Messages” error as per the log file below:

[10/11/2011 14:22:54] [0] Executing Command: 'Export-Mailbox ana.hayes -PSTFolderPath X:\psts -ReportFile x:\test.txt'
[10/11/2011 14:22:54] [0] Trying to open registry key 'Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE'.
[10/11/2011 14:22:54] [0] The default value of the registry key is 'C:\PROGRA~1\Microsoft Office\Office12\OUTLOOK.EXE'.
[10/11/2011 14:22:54] [0] The version of Outlook.exe is '12.0.4518.1014'.
[10/11/2011 14:22:54] [0] Searching objects "ana.hayes" of type "ADUser" under the root "$null".
[10/11/2011 14:22:54] [0] Previous operation run on global catalog server 'prod-ex27dc-01.ethan.local'.
[10/11/2011 14:22:54] [0] Processing object "ethan.local/ExchangeUsers/Ana.Hayes".
[10/11/2011 14:22:55] [0] Searching objects "prod-ex27dc-01" of type "Server" under the root "$null".
[10/11/2011 14:22:55] [0] Previous operation run on domain controller 'prod-ex27dc-01.ethan.local'.
[10/11/2011 14:22:55] [0] Searching objects "PROD-EX27DC-01\First Storage Group\Mailbox Database" of type "MailboxDatabase" under the root "$null".
[10/11/2011 14:22:55] [0] Previous operation run on domain controller 'prod-ex27dc-01.ethan.local'.
[10/11/2011 14:22:56] [0] Ending processing.
[10/11/2011 14:22:56] [0] [Ana.Hayes] The operation has started.
[10/11/2011 14:22:56] [0] [Ana.Hayes] Initializing MAPI, loading library.
[10/11/2011 14:22:56] [0] [Ana.Hayes] Approving object.
[10/11/2011 14:22:56] [0] [Ana.Hayes] Logging on to the MAPI profile.
[10/11/2011 14:22:56] [0] [Ana.Hayes] Opening Exchange mailbox.
[10/11/2011 14:22:57] [0] [Ana.Hayes] The operation has finished.
[10/11/2011 14:22:57] [0] [Ana.Hayes] The operation has started.
[10/11/2011 14:22:57] [0] [Ana.Hayes] Initializing MAPI, loading library.
[10/11/2011 14:22:57] [0] [Ana.Hayes] Approving object.
[10/11/2011 14:22:58] [0] [Ana.Hayes] Logging on to the MAPI profile.
[10/11/2011 14:22:58] [0] [Ana.Hayes] Opening Exchange mailbox.
[10/11/2011 14:22:58] [0] [Ana.Hayes] Opening PST file.
[10/11/2011 14:22:59] [0] [Ana.Hayes] Moving messages.
[10/11/2011 14:22:59] [0] [Ana.Hayes] Merging messages.
[10/11/2011 14:22:59] [0] [ERROR] Error was found for Ana Hayes (Ana.Hayes@ethan.local) because: Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
[10/11/2011 14:22:59] [0] [Ana.Hayes] The operation has finished.

Luckily this problem was easier to fix as it turned out to be as simple as the account with which I was executing the cmdlet (Export-Mailbox) did not have the correct permissions on the source mailbox.

Therefore the solution was to assign the execution account Full Mailbox Access Permissions to the Source Mailbox.

Assigning these permissions can be done via the Exchange Management Console – or via the Exchange Management shell using the Add-MailboxPermission cmdlet;

Add-MailboxPermission –Id <UserMailbox> –User <Account to have permissions> –AccessRights ‘Full Access’ –Confirm:$false
Sharing is caring!:

7 thoughts to “Quick Tip– Error Occurred in step: Moving Messages – MAPI or an unspecified service provider – ID no: 00000000-0000-00000000, error code:–1056749164…”

  1. Thanks, you’re a life saver. One thing though– ‘Full Access’ in your command should read ‘FullAccess’. It didn’t work until I changed it. Thanks again!

  2. Hi!

    Thanks for the solution, it works. But I have a question.
    Where can I find the log file that you postet above.

    best reagards,
    J.

  3. Үou actually make it seem so easy with your presentation bbut I find tһiiѕ topic to be really somethhing thɑt I think I would newver understand.
    It seems too complex and extremеly broad for me.
    I’m looking forward for your next post, I wiⅼl try to get the hang of іt!

  4. All Fiverr does is take it one step further, you don’t have
    any overhead but your companies will probably be even CHEAPER, but in return you’re going to get
    a HUGE quantity of customers.

Leave a Reply

Your email address will not be published. Required fields are marked *