When trying to export a mailbox using the Export-Mailbox powershell command I received the following error:
Export-Mailbox : Error was found for User Name (firstname.lastname@example.org) because: Error occurred in the step: Moving mes
sages. 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
At line:1 char:15
+ Export-Mailbox <<<< -Identity mgreen -BadItemLimit 9999999 -PSTFolderPath c:\mgreen.pst + CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException + FullyQualifiedErrorId : 693782CA,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox
To resolve this issue you need to give the Administrator who is exporting the mail rights to the users mailbox.
Get-Mailbox "users mailbox" Add-MailboxPermission -User Administrator -AccessRights FullAccess