Solved

Error -2147221219 Occurs When You Run the Export-Mailbox Cmdlet on Exchange 2010

Posted on 2011-09-29
11
2,491 Views
Last Modified: 2012-05-12
Hi everyone,

When try to export an user mailbox with Exchange 2010 Export-Mailbox Cmdlet I get the error below. I googled it but not able to find a solution. You may see the whole error message below:

PS: Some identifiers have been renamed because of security issues...

[PS] C:\Windows\system32>Export-mailbox -Identity xxx -PSTFolderPath d:\Mailboxes
Error was found for xxx because: Error occurred in the step: Approving object. An unknown error has occurred., err
    + CategoryInfo          : InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException
    + FullyQualifiedErrorId : A7B981B4,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox



RunspaceId                       : d1d8f517-f7cf-48ec-8f97-e73cb74e050b
Identity                         :"Coorrect Identity"
DistinguishedName                : "Correct Name"
DisplayName                      : XXX YYY
Alias                            : xxx
LegacyExchangeDN                 : /o=domain/ou=First Administrative Group/cn=Recipients/cn=xxx
PrimarySmtpAddress               : xxx@xxx.com.tr
SourceServer                     : server.domain.com
SourceDatabase                   : DB
SourceGlobalCatalog              : DC
SourceDomainController           :
TargetGlobalCatalog              : DC
TargetDomainController           :
TargetMailbox                    :
TargetServer                     :
TargetDatabase                   :
MailboxSize                      : 0 B (0 bytes)
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : Default
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     :
PSTFilePath                      : d:\Mailboxes\xxx.pst
RecoveryMailboxGuid              :
RecoveryMailboxLegacyExchangeDN  :
RecoveryMailboxDisplayName       :
RecoveryDatabaseGuid             :
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : ExportToPST
MoveStage                        : Validation
StartTime                        : 9/29/2011 10:59:40 AM
EndTime                          : 9/29/2011 10:59:41 AM
StatusCode                       : -2147221219
StatusMessage                    : Error occurred in the step: Approving object. An unknown error has occurred.
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\V14\Logging\MigrationLogs\export-Mailbox20110929-105940-8635144.xml
ServerName                       : server.domain.com
verbose-log.txt
0
Comment
Question by:evrenbuyer
  • 7
  • 4
11 Comments
 
LVL 8

Expert Comment

by:rr1968
ID: 36814047
You may not have permission to Export this mailbox or having Outlook Mapi issues.
Try this link:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/82424f36-2611-4188-808e-df9aad36a5b7/

In my case I would normally give full access to all the mailbox to the admin account and run export cmdlet. Once done I would remove it.
0
 
LVL 8

Expert Comment

by:rr1968
ID: 36814080
BTW, I forgot to mention, if you are trying to export just a one user, you can try exporting through user's outlook..
0
 

Author Comment

by:evrenbuyer
ID: 36814101
Thx for the answer, I've already tired fixmapi but unfotunetly didn't work for me. Also I've already gave manage and send as permissions to user administrator for xxx mailbox.

Is there an easy way to give full acess permissions for all mailboxes in organization to administrator user...? Cause this is a production exchage server, and all mailboxes moved from previous exchange 2003. I'm pretty sure it's permission related problem but unable to understand the situation.

Any ideas?
0
 

Author Comment

by:evrenbuyer
ID: 36814123
In the outlook, it also gives some errors, but you may copy inbox and many subfolders one-by-one. I've already copied the mailbox manually. I'm trying the resolve my cmdlet problem, not trying to copy a mailbox... And it gives the same error for any other individual mailbox. So has to be fixed...
0
 
LVL 8

Expert Comment

by:rr1968
ID: 36814201

Did you try this?
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<adminusername>”
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:evrenbuyer
ID: 36814303
Yes I did already...
0
 

Accepted Solution

by:
evrenbuyer earned 0 total points
ID: 36814430
THE SOLUTION BELOW WORKED FOR ME...

Got the the flowing workaround from Microsoft PSS and Import/Export-mailbox cmdlet is working

In adsiedit brows to the database where the mbx (where you want to import/export the mailbox)
Properties of the mbx database:

Select system account
Grant the following permission to the system account and restart information store service.

• Read
• Administer information store
• Allow Impersonation to Personal Exchange…
• Create named properties in the information store
• Open mail send queue
• Receive as
• Send as
• View information store status

http://social.technet.microsoft.com/Forums/en/exchangesvrgeneral/thread/57cebd85-671f-47eb-8777-2afcc8885218


0
 

Author Closing Comment

by:evrenbuyer
ID: 36908398
I found a similiar problem and accepted solution in technet forum by myself...
0
 

Author Comment

by:evrenbuyer
ID: 36814451
Problem solved
0
 

Author Comment

by:evrenbuyer
ID: 36889957
...
0
 
LVL 8

Expert Comment

by:rr1968
ID: 36889966
Thanks for this info. I am sure it will be helpful to other users
0

Featured Post

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now