Solved

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

Posted on 2011-09-29
11
2,450 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility

Did you try this?
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<adminusername>”
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:evrenbuyer
Comment Utility
Yes I did already...
0
 

Accepted Solution

by:
evrenbuyer earned 0 total points
Comment Utility
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
Comment Utility
I found a similiar problem and accepted solution in technet forum by myself...
0
 

Author Comment

by:evrenbuyer
Comment Utility
Problem solved
0
 

Author Comment

by:evrenbuyer
Comment Utility
...
0
 
LVL 8

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.

743 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

17 Experts available now in Live!

Get 1:1 Help Now