mo_vigilante Posted November 29, 2012 Posted November 29, 2012 Hi all, I used to be able to export mailboxes succesfully to a PST file for backup/auditing reasons when staff leave organisation so I can tidy up the database. However, it's not allowing me to do this anymore and I haven't changed anything from the server end or the client end where I'm running the remote admins tools on a 32-bit computer (Win 7 SP1). I'm using the below cmdlet to first add permission to the user's mailbox "Add-MailboxPermission -Identity -User Administrator -AccessRights FullAccess" And after this I use the below cmdlet to export the mailbox "Export-Mailbox -Identity -PSTFolderPath C:\PST\.pst I had no problems at all with the above method in the past and suddenly brings up the folloiwng error message: - "Export-Mailbox : Error was found for because: Error occurred in the step: Approving Object. An unknown error has occurred., error code -2147221233" I'm making sure I'm running the Exchange Shell 'As Administrator' and ensuring the folder where I want to export to has correct permissions. Anyone have any ideas? We're running Server 2008 SP2 with Exchange 2007 SP3 on it. Thanks. Mo
sukh Posted November 29, 2012 Posted November 29, 2012 add verbose logging at the end i.e -verbose in your export command what does it say?
ozydave Posted November 29, 2012 Posted November 29, 2012 Had this same message after I upgraded my PC to win 8 and office 2013. Searched for ages still no fix :-(
mo_vigilante Posted November 30, 2012 Author Posted November 30, 2012 Hi, I ran verbose at the end of the export command and first it confirms whether we want to perform this action as it normally does and the following comes up with the following: - VERBOSE: Export-Mailbox : Ending processing VERBOSE: Export-Mailbox : The operation has started. VERBOSE: Export-Mailbox : Initializing MAPI, loading library. VERBOSE: Export-Mailbox : Approving object. VERBOSE: Export-Mailbox : Logging on to the MAPI profile. VERBOSE: Export-Mailbox : Opening exchange mailbox. Then it comes up with thebelow message: - "Export-Mailbox : Error was found for because: Error occurred in the step: Approving object. An unknown error has occurred., error code -2147221233 At line:1 char:15" Double checked permissions and the admin definitely has FULL PERMISSIONS to the users mailbox. Also checked the spelling and everything is correct to what I used to do so anything else I'm missing? Thanks. Mo
SYNACK Posted November 30, 2012 Posted November 30, 2012 Why don't you use ExMerge? Don't think that works with 2007.
MatthewL Posted November 30, 2012 Posted November 30, 2012 Oh right, not had our own Exchange since we lost ours the other year to a 2007 farm which we have no access to.
mo_vigilante Posted December 4, 2012 Author Posted December 4, 2012 Anyone else got any ideas? I tried exporting to a folder on desktop with same permissions and still doesn't export. I find it random now all of a sudden it doesn't work - the only thing I can think of is updates on the client machine where I'm running the cmdlet. Thanks. Mo
sukh Posted December 6, 2012 Posted December 6, 2012 Can you do the verbose again and post the exact command you executed.
mo_vigilante Posted December 6, 2012 Author Posted December 6, 2012 Hi, see below of export command on Exchange Management Shell: - Export-Mailbox -Identity c.davis -PSTFolderpath C:\PST\c.davis.pst -verbose VERBOSE: Export-Mailbox : Beginning processing. VERBOSE: Export-Mailbox : Trying to open registry key 'Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE'. VERBOSE: Export-Mailbox : The default value of the registry key is 'C:\PROGRA~1\MICROS~3\Office14\OUTLOOK.EXE'. VERBOSE: Export-Mailbox : The version of Outlook.exe is '14.0.6126.5003'. VERBOSE: Export-Mailbox : Searching objects "c.davis" of type "ADUser" under the root "$null". VERBOSE: Export-Mailbox : Previous operation run on global catalog server '[FQDN DOMAIN NAME]'. VERBOSE: Export-Mailbox : Processing object "[DNS DOMAIN NAME]/SSN Users/Warrington Users/Ceri Davis". VERBOSE: Export-Mailbox : Searching objects "[MAIL SERVER]" of type "Server" under the root "$null". VERBOSE: Export-Mailbox : Previous operation run on domain controller '[FQDN DOMAIN CONTROLLER]'. VERBOSE: Export-Mailbox : Searching objects "[MAIL SERVER]\First Storage Group\Mailbox Database" of type "MailboxDatabase" under the root "$null". VERBOSE: Export-Mailbox : Previous operation run on domain controller '[FQDN DOMAIN CONTROLLER]'. Confirm Are you sure you want to perform this action? Exporting mailbox content from the mailbox 'Ceri Davis' into .pst file 'C:\PST\c.davis.pst'. This operation may take a long time to complete. [Y] Yes [A] Yes to All [N] No [L] No to All Suspend [?] Help (default is "Y"):a VERBOSE: Export-Mailbox : Ending processing. VERBOSE: Export-Mailbox : [c.davis] The operation has started. VERBOSE: Export-Mailbox : [c.davis] Initializing MAPI, loading library. VERBOSE: Export-Mailbox : [c.davis] Approving object. VERBOSE: Export-Mailbox : [c.davis] Logging on to the MAPI profile. VERBOSE: Export-Mailbox : [c.davis] Opening Exchange mailbox. Export-Mailbox : Error was found for Ceri Davis ([email protected]) because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221233 At line:1 char:15 + Export-Mailbox <<<< -Identity c.davis -PSTFolderpath C:\PST\c.davis.pst -verbose + CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], Re cipientTaskException + FullyQualifiedErrorId : 9EEBFA7A,Microsoft.Exchange.Management.Recipient Tasks.ExportMailbox VERBOSE: Export-Mailbox : [c.davis] The operation has finished.
sukh Posted December 6, 2012 Posted December 6, 2012 Can you run ipconfig /all where you are running the command and post? Can you confirm what Rollup you are on?
sukh Posted December 6, 2012 Posted December 6, 2012 Can you alos run fixmapi from the command prompt (make sure OLK & shell is closed) and try again.
mo_vigilante Posted December 6, 2012 Author Posted December 6, 2012 Hi, see below Microsoft Windows [Version 6.1.7601] Copyright © 2009 Microsoft Corporation. All rights reserved. C:\Users\USER>ipconfig/all Windows IP Configuration Host Name . . . . . . . . . . . . : CO-D022-ICT01 Primary Dns Suffix . . . . . . . : [DOMAIN NAME] Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : [DOMAIN NAME] Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : TAP-Win32 Adapter 5000m Physical Address. . . . . . . . . : 00-FF-94-E3-F4-3E DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : [DOMAIN NAME] Description . . . . . . . . . . . : Intel® 82578DM Gigabit Network Connecti on Physical Address. . . . . . . . . : 6C-62-6D-D2-5A-1E DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::3520:b4a8:3a5a:383a%12(Preferred) IPv4 Address. . . . . . . . . . . : 10.0.10.27(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : 06 December 2012 12:47:27 Lease Expires . . . . . . . . . . : 06 December 2012 20:47:29 Default Gateway . . . . . . . . . : 10.0.10.1 DHCP Server . . . . . . . . . . . : 192.168.178.240 DHCPv6 IAID . . . . . . . . . . . : 275538541 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-FE-4C-2A-6C-62-6D-D2-5A-1E DNS Servers . . . . . . . . . . . : 192.168.178.240 10.0.20.5 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{94E3F43E-603A-41E4-B2D9-3E9BAE952A18}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Local Area Connection* 9: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft 6to4 Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Local Area Connection* 11: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.[DOMAIN NAME]: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : [DOMAIN NAME] Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes I'm running rollup 6 for Exchange 2007 SP3. I also ran fixmapi from command prompt as administrator and tried to export again - same error message. Thanks.
mo_vigilante Posted December 6, 2012 Author Posted December 6, 2012 Yeah I have half a dozen of staff that have left the organisation and it does the same error message when attempting to export.
sukh Posted December 6, 2012 Posted December 6, 2012 Can you create a test account and send some mesages to it and place in a new test OU and test again.
mo_vigilante Posted December 6, 2012 Author Posted December 6, 2012 Ok will do - I'll do that and then try exporting the test mailbox. Will post up the results tomorrow hopefully. Thanks.
mo_vigilante Posted December 7, 2012 Author Posted December 7, 2012 Hi, I've created a new test account in a new test OU and new email address in that new AD object. Sent a few emails back and forth (internal and external). Added the admin permission fine with the cmdlet but same error message happens with exporting the mailbox and when I ran the -verbose command at the end as well - it brings up the same error message at the same point on the existing mailboxes I tried to export. Any other ideas?
sukh Posted December 7, 2012 Posted December 7, 2012 The admin account you're giving full mbx permission to, can you double check there isn't a inherited deny somehwere? 1
mo_vigilante Posted December 7, 2012 Author Posted December 7, 2012 I've checked this and it isn't inherited any deny permissions. I've created a test admin account and made the account a member of domain admins and also tried this - same error message. Thanks.
sukh Posted December 7, 2012 Posted December 7, 2012 DO NOT make the account a member of domain admin, make sure it has only Domain Users and is a memeber of Exch Server admins and local Admin where you are running the command from.
mattx Posted December 7, 2012 Posted December 7, 2012 If the account is still live, logon as the user and then take an archive of their E-mail. Set the archive date so it's tomorrows and then you will have their Mail. Or just create a local .PST file and drag the E-mails into that. Or give yourself full permissions to their mail box and add them as another mailbox to your account. 1
mo_vigilante Posted December 10, 2012 Author Posted December 10, 2012 Hi guys, I've managed to sort this out - apparently it was a update on Outlook 2010 that was causing the issue (kb2687623). Few other people were having the same problem - see following link: - Exchange Mailbox import failed with error code - -2147221233 Uninstalled the update, restarted the machine and now all mailboxes are updating now. Thanks for all your help and suggestions - much appreciated :-) Mo
vly_systems Posted December 27, 2013 Posted December 27, 2013 I ran fixmapi and worked like a charm for me. The machine I'm doing the export from is a Windows 2003 R2 32 Bit with Microsoft Exchange Console 32 Bit with all of the updates. Exchange server is Exchange 2007 SP3 on Windows 2003 R2 64Bit.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now