none
Exchange Mailbox import failed with error code - -2147221233

    Question

  • It used to work without any error but not now. Not sure why?

    Please help.

    Thanks in advance

    -----------------

    [PS] C:\Documents and Settings\mkhan>Export-Mailbox -Identity user -PSTFold
    erPath c:\test\user.pst

    Confirm
    Are you sure you want to perform this action?
    Exporting mailbox content from the mailbox 'user' into .pst file
    'c:\test\user.pst'. This operation may take a long time to complete.
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
    (default is "Y"):y
    Export-Mailbox : Error was found for user (user@xxx.xxx) becau
    se: Error occurred in the step: Approving object. An unknown error has occurred
    ., error code: -2147221233
    At line:1 char:15
    + Export-Mailbox <<<<  -Identity user -PSTFolderPath c:\test\user.pst
        + CategoryInfo          : InvalidOperation: (0:Int32) [Export-Mailbox], Re
       cipientTaskException
        + FullyQualifiedErrorId : F45E892E,Microsoft.Exchange.Management.Recipient
       Tasks.ExportMailbox

    Thursday, November 22, 2012 4:15 AM

Answers

  • We have the same issue in our E2k7 SP3 RU8v2 environment and we have found it is the latest Outlook 2010 hotfixes that breaks it:

    (kb2598374) onwards on Outlook 2010  appears to break Export-Mailbox giving you a nice “: Error occurred in the step: Approving object. An unknown error h

    as occurred., error code: -2147221233”, when you revert to 14.06120.5000 and below it starts working again…

    14.0.6117.5001 (kb2553248) = works

    14.0.6120.5000 (kb2598318)  = works

    14.0.6123.5000 (kb2598374)  = does not work

    14.0.6129.5000 (kb2687608) = does not work

    So, what is the exact version of Outlook.exe you are running? I would recommend reverting it to an earlier version as per above and testing.

    • Proposed as answer by MegaNuk3 Friday, November 23, 2012 2:12 PM
    • Marked as answer by mkhan100 Monday, November 26, 2012 3:53 AM
    Friday, November 23, 2012 2:11 PM
  • I am trying to use outlook 2010 at this moment. As you have said, I will revert back to outlook 2007 and try. 

    • Edited by mkhan100 Monday, November 26, 2012 11:26 PM
    • Marked as answer by mkhan100 Monday, November 26, 2012 11:27 PM
    Monday, November 26, 2012 12:17 AM

All replies

  • It appears like: The user running the Import-Mailbox does not have full access to the destination mailbox.Give the user Running Import-Mailbox Full Permission against the mailbox to which the PST is being Imported.

    Add-MailboxPermission -Idenity "User_To_Which_PST_Is_Being_IMPORTED" -User "User Running Import-Mailbox" -InheritanceType All -AccessRights FullAccess

    For more information about Permissions refer to the link below:

    How to Import Mailbox Data

    How to Export and Import mailboxes to PST files in Exchange 2007 SP1


    M.P.K ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful" if it really helps and "Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your question. ~~ This Information is provided is "AS IS" and confers NO Rights!!

    • Proposed as answer by Pavan Maganti Thursday, November 22, 2012 11:04 AM
    • Unproposed as answer by mkhan100 Friday, November 23, 2012 12:03 AM
    Thursday, November 22, 2012 11:04 AM
  • Hi MPK.

    I am not sure, which permission you are referring to. I can say that the I am using, has 'Exchange Organization Admin' permission.

    • Exchange Organization Administrators
    • Exchange Recipient Administrators
    • Exchange View-Only Administrators
    • Exchange Public Folder Administrators

    Add-MailboxPermission -Identity xxxx -User xxx -AccessRights FullAccess.

    I verify with EMC that full permission has applied on the account, I am trying to import.

    Friday, November 23, 2012 12:06 AM
  • Hi ,

    Please try export via Outlook .

    And what about other users ?


    Wendy Liu
    TechNet Community Support



    Friday, November 23, 2012 3:29 AM
    Moderator
  • We have the same issue in our E2k7 SP3 RU8v2 environment and we have found it is the latest Outlook 2010 hotfixes that breaks it:

    (kb2598374) onwards on Outlook 2010  appears to break Export-Mailbox giving you a nice “: Error occurred in the step: Approving object. An unknown error h

    as occurred., error code: -2147221233”, when you revert to 14.06120.5000 and below it starts working again…

    14.0.6117.5001 (kb2553248) = works

    14.0.6120.5000 (kb2598318)  = works

    14.0.6123.5000 (kb2598374)  = does not work

    14.0.6129.5000 (kb2687608) = does not work

    So, what is the exact version of Outlook.exe you are running? I would recommend reverting it to an earlier version as per above and testing.

    • Proposed as answer by MegaNuk3 Friday, November 23, 2012 2:12 PM
    • Marked as answer by mkhan100 Monday, November 26, 2012 3:53 AM
    Friday, November 23, 2012 2:11 PM
  • I am trying to use outlook 2010 at this moment. As you have said, I will revert back to outlook 2007 and try. 

    • Edited by mkhan100 Monday, November 26, 2012 11:26 PM
    • Marked as answer by mkhan100 Monday, November 26, 2012 11:27 PM
    Monday, November 26, 2012 12:17 AM
  • It was the version of outlook installed in the computer, I was running PS from to import a mailbox.

    I uninstalled the latest version, install the previous outlook and it is working without any trouble now.

    Thanks MegaNuk3

    Monday, November 26, 2012 3:57 AM
  • We have the same issue in our E2k7 SP3 RU8v2 environment and we have found it is the latest Outlook 2010 hotfixes that breaks it:

    (kb2598374) onwards on Outlook 2010  appears to break Export-Mailbox giving you a nice “: Error occurred in the step: Approving object. An unknown error h

    as occurred., error code: -2147221233”, when you revert to 14.06120.5000 and below it starts working again…

    14.0.6117.5001 (kb2553248) = works

    14.0.6120.5000 (kb2598318)  = works

    14.0.6123.5000 (kb2598374)  = does not work

    14.0.6129.5000 (kb2687608) = does not work

    So, what is the exact version of Outlook.exe you are running? I would recommend reverting it to an earlier version as per above and testing.

    Just to confirm that rolling the updates back to Outlook 2010 14.0.6117.5001 solved the issue for us.

    Thanks.

    Monday, November 26, 2012 3:56 PM
  • Update: Outlook 2010 update: November 13, 2012 (http://support.microsoft.com/kb/2687623) does not work either.

    14.0.6126.5003 (kb2687623)

    Tuesday, November 27, 2012 9:12 AM
  • I removed 14.0.6126.5003 (kb2687623)  and that fixed it.

    Thanks, Grady Vogt

    Tuesday, November 27, 2012 4:47 PM
  • The same Problem here with E2k7 SP3 RU8v2 and Outlook 2010 with KB2687623 installed.

    Removing KB2687623 solved the problem.

    Thursday, November 29, 2012 1:49 PM
  • I tried the fixmapi unsuccessfully. Then I ran into this post: I had KB2687623. This worked like a charm!

    Have someone reported this to the MS Guys? I'm sure this update was meant for good, but in the case of Exchange admins this is simply a nightmare. I Expended 2 hours trying to solve this issue.

    Thanks MegaNuk3 and Grady Vogt for the answer.

    Thursday, November 29, 2012 5:24 PM
  • Uninstalling KB2687623 fix the problem for me. How to report this to MS?

    Thanks for these tip guys! :)

    Bruno



    Bruno Bertelli - Technical Specialist at LGS Group

    Friday, December 21, 2012 2:58 PM
  • Great tip - Uninstalling KB2687623. Worked without reboot or fixmapi command. Checked the update was dated 12/19/12 - so it makes sense, the last time I ran the command was before the update.
    Thursday, December 27, 2012 4:50 PM
  • ***Update:

    The following update that was installed on 2/14/13 breaks the ability to export from 32 bit tools as well:

    Update for Microsoft Outlook 2010 (KB2597090) 32-Bit Edition

    Remove, reboot, and export as needed!

    Friday, February 15, 2013 8:54 PM
  • Removing KB2685623 worked for me (But curiously my Outlook version was still 14.0.6129.5000 after removing update).  Fortunately I run my Exchange PS commands on a Win XP VM, so I don't use the outlook that's installed there for email and I wont lose out on the security fixes that are inevitably part of those patches. 

    I also did not install KB2597090 per a user on this thread as it was in my windows update queue to install.


    • Edited by BrackenIT Tuesday, February 19, 2013 8:06 PM
    Tuesday, February 19, 2013 7:58 PM
  • It looks like a windows Update, Uninstalling and re installing office to the versions MegaNuk3 Described worked for me. Thanks MegaNuk3!! 

    14.0.6117.5001 (kb2553248) = works

    14.0.6120.5000 (kb2598318)  = works

    14.0.6123.5000 (kb2598374)  = does not work

    14.0.6129.5000 (kb2687608) = does not work

    Friday, April 12, 2013 9:06 AM
  • En mi caso , la solución paso por instalar Outlook 2010 SP1.
    Sunday, May 05, 2013 5:05 PM
  • SP2 for MS Office 2010 gives also error code: -2147221233 with Export-Mailbox on an Exchange 2007.
    Tuesday, August 13, 2013 5:52 PM
  • Removed kb2687623 and we're cooking again.

    Thanks

    Saturday, August 24, 2013 5:54 AM
  • I have the same problem on computers with Office 2010 SP2.  When  I try to export mailbox to a local, an error -2147221233 gives to me. I did the steps on this forum (removing the paths and SP2 or SP1),  but continuous the same problem.... ! Anyone have any idea?
    Wednesday, September 04, 2013 7:10 PM
  • I have the same problem on computers with Office 2010 SP2.  When  I try to export mailbox to a local, an error -2147221233 gives to me. I did the steps on this forum (removing the paths and SP2 or SP1),  but continuous the same problem.... ! Anyone have any idea?

    I discover that, if I have only the Management Tool installed on my pc With Exchange SP1, and install the path KB981407, after the install, I have this problem on Export-mailbox. I removed that and resolved the problem. 

    Other way, If I install Office SP2, the same problems occurrs. Any reports?







    • Edited by Alex Tanaka Thursday, September 12, 2013 8:29 PM
    Friday, September 06, 2013 4:19 PM
  • This is still anuisance.  Any word from Microsoft on resolution?  I hate keeping an unpatched XP VM around just for this.
    Monday, September 23, 2013 6:17 PM