EXPORT-MAILBOX TO PST
i am trying to use the export-mailbox command to export to pst but it keeps giving me this error: Export-Mailbox : Error was found for XYZ (ZYW@WWWk.com) 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: -1056749164At C:\exporttest.ps1:1 char:56+ get-User XYZ@WWWk.com | export-mailbox <<<< -subjectkeywords "FIND" -PSTFolderPath C:\PSTFiles -EndDate "11/24/2008" -deletecontent -verbose it works for some account but doesnt work for majority. i cant seem to identify why it works for some. when i remove the subjectkeyword and enddate parameter, it works for everyone. how do i go about this? i have installed rollup update 4 which i am told fixes such issues and also granted the neccessary permissions and rights but the problem still persist
December 1st, 2008 3:41pm

Try explicitly granting the FullAccess mailbox permissions for the account that is performing export-mailbox operation. See if that fixes your issueU can grant permission like this:Add-MailboxPermission -Identity <mbx_alias> -User <account_running_exp-mbx> -Rights FullAccess
Free Windows Admin Tool Kit Click here and download it now
December 1st, 2008 11:27pm

Hi, I also suggest you move the problem mailbox to another information store to check whether the issue persists. Mike
December 3rd, 2008 11:55am

Hi, Whether you have Outlook 2003 to export the messages. "MicrosoftKB article 28999 and 813593 describe a problem with using Outlook 2003 to delete several objects from a folder. You cannot use the Export-Mailbox cmdlet to delete more than 4000 objects from a folder. To export more objects, you must user Outlook 2007". for your reference: http://technet.microsoft.com/en-us/library/aa998579.aspx Mike
Free Windows Admin Tool Kit Click here and download it now
December 9th, 2008 12:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics