?
Solved

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

Posted on 2011-09-29
11
Medium Priority
?
2,752 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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
 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
how to add IIS SMTP to handle application/Scanner relays into office 365.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

719 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