Hi All,
I know this has issue has been raised before and I have searched for a solution, but I‘ve not been able to find one which works for me. In the past I was able to export any mailbox to a .PST but, now regardless of which mailbox I want to export I get error code: -2147221233.
Powerscript Command: 'export-mailbox -identity xxx -PSTFolderPath C:\Temp\xxx.pst
ErrorCode ="-2147221233">Error occurred in the step: Approving object. An unknown error has occurred
Server Environment:
Server 2008 STD,
Exchange 2007 SP3 RollUp 10
Client Environment:
Windows 7 Pro 32bit, Outlook 2010 SP (also tried from Windows XP Pro 32bit)
Export-Mailbox Log:
Executing Command: 'export-mailbox -identity xxx -PSTFolderPath C:\Temp\xxx.pst'
Trying to open registry key 'Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE'.
The default value of the registry key is 'C:\PROGRA~1\MICROS~1\Office14\OUTLOOK.EXE'.
The version of Outlook.exe is '14.0.7012.1000'.
Searching objects "xxx" of type "ADUser" under the root "$null".
Previous operation run on global catalog server 'dc.domain.local'.
Processing object "domain.local/Users/xxx".
Searching objects "ExchangeServerName" of type "Server" under the root "$null".
Previous operation run on domain controller 'dc.domain.local'.
Searching objects " ExchangeServerName \First Storage Group\Mailbox Database" of type "MailboxDatabase" under the root "$null".
Previous operation run on domain controller 'dc.domain.local'.
Ending processing.
[xxx] The operation has started.
[xxx] Initializing MAPI, loading library.
[xxx] Approving object.
[xxx] Logging on to the MAPI profile.
[xxx] Opening Exchange mailbox.
[ERROR] Error was found for xxx (xxx@domain.com) because: Error occurred in the step: Approving object. An unknown error has occurred., error code:-2147221233
[xxx] The operation has finished.
I’ve checked & double checked permissions on my account (also tried to run as Dom Admin). User Account using Export-Mailbox (mine, tried Dom Admin) is member of the following:
- Exchange Organization Administrators
- Exchange Recipient Administrators
- Exchange View-Only Administrators
- Exchange Public Folder Administrators
Tried without Success
- fixmapi (cmd Prompt As Administrator on Server & Client machines)
- Add-MailboxPermission -Identity <AnyMailBoxUser> -User xxx -AccessRights FullAccess
- Member Local admin on Exchange Server
Any help would be appreciated as I’m totally stuck on this.
Thanks,
Greg