Exporting mail from a mailbox is in most cases no issue, but sometimes you can have issues with it:
Export-Mailbox : Error was found for johan (email@example.com) be
cause: 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
At line:1 char:15
- export-mailbox «« -identity johan -startdate “01/01/07”-enddate “06/30/
08” -pstfolderpath c:\temp\johan.pst -deletecontent
Strange error, isn’t it ? The user performing the job got enough rights so this shouldn’t be the issue. The solution is not really hard, just run fixmapi and then try again.
The example above is directly from a forum, first I thought it were the wrong parameters used with the command. With some help of other forum members we found the solution.
For more information about fixmapi have a look at the site below.