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

by Andy Grogan on November 10, 2011 · 6 comments

in Exchange 2007 (Admin), Exchange 2007 (General), Exchange 2007 (Migration), Exchange 2007 Backup, Quick Tips

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

Social

{ 6 comments… read them below or add one }

Shawn August 3, 2012 at 4:57 pm

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!

Reply

Dhananjay April 24, 2013 at 6:35 am

Thanks for help, it is very useful to me.

Reply

Martinns April 29, 2014 at 2:28 pm

Hi

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

Reply

Brian Grigory July 15, 2014 at 10:41 pm

Thank you!!! stuggled with this for hours!

Reply

Jozsef September 9, 2015 at 12:50 pm

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.

Reply

Man U Shirt November 28, 2016 at 9:41 am

Ү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!

Reply

Leave a Comment

Previous post:

Next post: