Solved

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

Posted on 2011-09-29
11
2,605 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

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.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

735 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