Answered Exchange Mailbox import failed with error code - -2147221233

  • Thursday, November 22, 2012 4:15 AM
     
     

    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

All Replies

  • Thursday, November 22, 2012 11:04 AM
     
      Has Code

    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 M.P.K Thursday, November 22, 2012 11:04 AM
    • Unproposed As Answer by mkhan100 Friday, November 23, 2012 12:03 AM
    •  
  • Friday, November 23, 2012 12:06 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 3:29 AM
    Moderator
     
     

    Hi ,

    Please try export via Outlook .

    And what about other users ?


    Wendy Liu
    TechNet Community Support



  • Friday, November 23, 2012 2:11 PM
     
     Answered

    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
    •  
  • Monday, November 26, 2012 12:17 AM
     
     Answered
    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 3:57 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:56 PM
     
     

    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.

  • Tuesday, November 27, 2012 9:12 AM
     
     

    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 4:47 PM
     
     
    I removed 14.0.6126.5003 (kb2687623)  and that fixed it.

    Thanks, Grady Vogt

  • Thursday, November 29, 2012 1:49 PM
     
     

    The same Problem here with E2k7 SP3 RU8v2 and Outlook 2010 with KB2687623 installed.

    Removing KB2687623 solved the problem.

  • Thursday, November 29, 2012 5:24 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.

  • Friday, December 21, 2012 2:58 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

  • Thursday, December 27, 2012 4:50 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.
  • Friday, February 15, 2013 8:54 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!

  • Tuesday, February 19, 2013 7:58 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
    •  
  • Friday, April 12, 2013 9:06 AM
     
     

    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

  • Sunday, May 05, 2013 5:05 PM
     
     
    En mi caso , la solución paso por instalar Outlook 2010 SP1.