Export-mailbox on Exchange 2007
i am trying to export mailbox content to pst using the export-mailbox command. it seems to work for a few mailboxes mostly for disabled accounts and for the rest, it gives the following error:Error occurred in the step: Moving messages.Failed to copy messages to the destinationmailbox store with error:MAPI or an unspecified service provider.ID no: 00000000-0000-00000000The permissions have all been set according. how do i resolve this issue?
March 31st, 2009 7:05pm
could you tell me what is Exchange 2007?
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2009 5:53am
maybe resend?
something basic like making the file size smaller?
April 1st, 2009 5:53am
Hi
The following command on the Mailbox first give the necessary authority. Add-MailboxPermission mailboxuser -User domainuser -AccessRights fullaccess after, export-mailbox ... ... ..
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2009 2:08pm
i have done that but it still gives me this error
April 1st, 2009 4:32pm
Can you post full error code? Also run cmdlet with -Verbose switch and post the result here.Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2009 4:35pm
this is the codeexport-mailbox -identity xyz@wee.com -PSTFolderPath c:\pstfiles -excludeFolders "\deleted items" -subjectkeywords "Review" -deletecontent -verbose
April 1st, 2009 5:46pm
and the error,VERBOSE: Export-Mailbox : Beginning processing.VERBOSE: Export-Mailbox : Trying to open registry key'Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE'.VERBOSE: Export-Mailbox : The default value of the registry key is'C:\PROGRA~1\MICROS~2\Office12\OUTLOOK.EXE'.VERBOSE: Export-Mailbox : The version of Outlook.exe is '12.0.4518.1014'.VERBOSE: Export-Mailbox : Searching objects "xyz@wee.com" oftype "ADUser" under the root "$null".VERBOSE: Export-Mailbox : Previous operation run on global catalog server'idc01.wee.com'.VERBOSE: Export-Mailbox : Processing object"wee.com/Head Office/Users/xyz".VERBOSE: Export-Mailbox : Searching objects "abc" of type "Server" underthe root "$null".VERBOSE: Export-Mailbox : Previous operation run on domain controller'idc01.wee.com'.VERBOSE: Export-Mailbox : Searching objects "EDB01\SG1\DB1" of type"MailboxDatabase" under the root "$null".VERBOSE: Export-Mailbox : Previous operation run on domain controller'idc01.wee.com'.
ConfirmAre you sure you want to perform this action?Exporting mailbox content from the mailbox 'xyz' into .pst file'c:\pstfiles\xyz.pst'. This operation may take a long time tocomplete.[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help(default is "Y"):yVERBOSE: Export-Mailbox : Ending processing.VERBOSE: Export-Mailbox : [xyz] The operation has started.VERBOSE: Export-Mailbox : [xyz] Initializing MAPI, loading library.VERBOSE: Export-Mailbox : [xyz] Approving object.VERBOSE: Export-Mailbox : [xyz] Logging on to the MAPI profile.VERBOSE: Export-Mailbox : [xyz] Opening Exchange mailbox.VERBOSE: Export-Mailbox : [xyz] The operation has finished.VERBOSE: Export-Mailbox : [xyz] The operation has started.VERBOSE: Export-Mailbox : [xyz] Initializing MAPI, loading library.VERBOSE: Export-Mailbox : [xyz] Approving object.VERBOSE: Export-Mailbox : [xyz] Logging on to the MAPI profile.VERBOSE: Export-Mailbox : [xyz] Opening Exchange mailbox.VERBOSE: Export-Mailbox : [xyz] Opening PST file.VERBOSE: Export-Mailbox : [xyz] Moving messages.VERBOSE: Export-Mailbox : [xyz] Merging messages.Export-Mailbox : Error was found for xyz (xyz@wee.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 line:1 char:15+ export-mailbox <<<< -identity xyz@wee.com -PSTFolderPath c:\pstfiles -excludeFolders "\deleted items" -subjectkeywords "Review"-deletecontent -verboseVERBOSE: Export-Mailbox : [xyz] The operation has finished.
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2009 5:52pm
Hi,
1. I suggest you create a new user and grant FullAccess permission to the problem mailbox and check whether the issue still persists
2. If the issue persists, I suggest you move the mailbox to another Mailbox Store and attempt to export the mailbox to test the issue.
3. Please let me know whether the Group Policy had been used to force Outlook to use cached mode.
See the following link, under the topic "Using Group Policy to enforce Cached
Exchange Mode settings" for more information on the policy setting:
http://office.microsoft.com/en-us/assistance/HA011402591033.aspx
For Outlook 2003, the cached mode policy setting is stored in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\11.0\Outlook\Cached Mode
For Outlook 2007, the policy setting is in
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\12.0\Outlook\Cached Mode
If yes, please remove the policy and check the issue again.
Mike
April 2nd, 2009 12:23pm