Export mailbox to PST - Exchange 2007
I ran this command on my Domain Admin Account from our 2007 Exchange Server 2007 w/ SP3: [PS] C:\Users\jesse\Desktop>Get-Mailbox | Add-ADPermission -User "jesse.Sams" - AccessRights GenericAll -ExtendedRights Send-As, Receive-As, MS-exch-store-admin When I run the command: Export-Mailbox Identity <mailboxUser> -PSTFolderPath <pathToSavePST> -StartDate "<//span>08/29/12" EndDate "08/29/12" -DeleteContent I get the error: Export-Mailbox : Error was found for First Name (first.last@domain.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: -1056749164 At line:1 char:15 + Export-Mailbox <<<< -Identity first.last -PSTFolderPath d:\archive -StartDate "08/29/12" -EndDate "08/29/12" -DeleteContent + CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException + FullyQualifiedErrorId : 70397370,Microsoft.Exchange.Management.Recipient Tasks.ExportMailbox Any help on this issue would be greatly appreciated. Thanks, Jesse
August 29th, 2012 12:32pm

Please confirm. In order to export or import mailboxes to PST files the following requirements must be met: Export/Import to PST must be run from a 32 bit client machine with Exchange Management Tools installed (Version Exchange 2007 SP1 or later). The 32bit requirement comes from a dependency with the Outlook client. Either Outlook 2003 or Outlook 2007 must be installed on the client machine. The user running the task must be an Exchange Organization Admin or an Exchange Server Admin on the server where the mailbox to export/import lives.James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 1:36pm

All are true of the client and my AD account
August 29th, 2012 2:14pm

Instead of using Get-Mailbox | Add-ADPermission -User "jesse.Sams" - AccessRights GenericAll -ExtendedRights Send-As, Receive-As, MS-exch-store-admin Use below Get-Mailbox | Add-ADPermission -User "jesse.Sams" -AccessRights FullAccessJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 3:16pm

Here is the output: [PS] C:\Windows\system32>Get-Mailbox | Add-ADPermission -User "jesse.sams" -Ac essRights fullaccess Add-ADPermission : Cannot bind parameter 'AccessRights'. Cannot convert value " fullaccess" to type "System.DirectoryServices.ActiveDirectoryRights" due to inv alid enumeration values. Specify one of the following enumeration values and tr y again. The possible enumeration values are "CreateChild, DeleteChild, ListChi ldren, Self, ReadProperty, WriteProperty, DeleteTree, ListObject, ExtendedRight , Delete, ReadControl, GenericExecute, GenericWrite, GenericRead, WriteDacl, Wr iteOwner, GenericAll, Synchronize, AccessSystemSecurity". At line:1 char:65 + Get-Mailbox | Add-ADPermission -User "jesse.sams" -AccessRights <<<< fullac cess + CategoryInfo : InvalidArgument: (:) [Add-ADPermission], Paramet erBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Exchang e.Management.RecipientTasks.AddADPermission
August 29th, 2012 4:31pm

Hello jwmms, You can use this command to do that: Get-mailbox| add-mailboxpermission -user "jesse.sams" -AccessRights fullaccess Add-MailboxPermission http://technet.microsoft.com/en-us/library/bb124097(EXCHG.80).aspx Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contact tnmff@microsoft.com Evan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 1:57am

My bad it was add-mailboxpermission as mentioned.James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
August 30th, 2012 12:26pm

Hmm, I am still getting an error: : 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: C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs\export-Mailbox20120830- 100411-3201059.xml + CategoryInfo: InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException + FullyQualifiedErrorId : 3FFF14E,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox I am using a 32bit Win 7 box with MS Outlook 2007 and 2007 Exchg tools installed.
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 1:23pm

First let's verify that you have full access to their mailbox, see if you can open another user's mailbox.James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
August 30th, 2012 1:58pm

I am getting the message: The operation failed. An object cannot be found or the Inbox folder cannot be found.
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 2:27pm

Did this error also occur when you export other mailboxes? Could you post the command you used to export mailbox? If you use Administrator account to do export task, will this issue occur or not? Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contacttnmff@microsoft.comEvan Liu TechNet Community Support
September 3rd, 2012 7:28am

Hello, Any updates on this issue? Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contacttnmff@microsoft.comEvan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 6th, 2012 1:48am

My apology for the delayed response. Yes, it has occurred on several users. All were disabled in AD (both hidden and not hidden in Exg.) The command is: Export-Mailbox Identity <mailboxUser> -PSTFolderPath <pathToSavePST> -StartDate "<//span>08/29/12" EndDate "08/29/12" -DeleteContent I used an administrator account with the permissions as mentioned above applied to my account and a non-admin account with the same permissions all with the same results. Any ideas?
September 6th, 2012 11:44am

Have you verified you can access these mailboxes? Can you verify that the exchange tools installed on your win7 box is same Exchange service pack level and rollup as your Exchange server?James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
September 6th, 2012 12:00pm

My apology for the delay in reponse. I can add users to an Outlook profile setup with Send/Recieve privileges. I assume the versions are the same; I don't see a particular version number for the Exg. Tools, but I do see that the Exchange version appears in the about menu option.
September 18th, 2012 1:19pm

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

Other recent topics Other recent topics