November 10, 2011

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 ([email protected]) 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
SHARE:
Exchange 2007 Articles 5 Replies to “Quick Tip– Error Occurred in step: Moving Messages – MAPI or an unspecified service provider – ID no: 00000000-0000-00000000, error code:–1056749164…”
Andy Grogan
Andy Grogan

COMMENTS

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

    Author’s gravatar

    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!

    Author’s gravatar

    Thanks for help, it is very useful to me.

    Author’s gravatar

    Hi

    This procedure didn’t work form me ;/
    Tks
    Martins

    Author’s gravatar

    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.

Leave a Reply to Jozsef Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Do NOT follow this link or you will be banned from the site!
%d bloggers like this: