Exchange Server TechCenter > Exchange Server Forums > Admin > Export-Mailbox results in "Unknown Error" on E2K7 SP2
Ask a questionAsk a question
 

AnswerExport-Mailbox results in "Unknown Error" on E2K7 SP2

  • Saturday, November 07, 2009 7:33 PMAquidneck Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Export-Mailbox -Identity user@domain.com -PSTFolderPath "e:\pstfiles" -Confirm: $false

    results in the following error statement:

    Export-Mailbox : Error was found for <user user@domain.com> because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221233
    At line:1 char:15
    + Export-Mailbox  <<<< -Identity user@domain.com -PSTFolderPath "e:\pstfiles" -Confirm: $false

    The subsequent info dump contains:

    StatusCode                       : -2147221233
    StatusMessage                    : Error occurred in the step: Approving object. An unknown error has occurred.

    I suspect this is a permissions issue.  I subsequently explicitly allowed the Administrator account Full Access to the target mailbox, with the same results.

    I'm stumped.  Anyone have a clue??

Answers

  • Saturday, November 07, 2009 8:46 PMAndyD_MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I would confirm the account has all the necessary permissions required for export-mailbox. http://technet.microsoft.com/en-us/library/aa998579.aspx

    Exchange Server Administrator role and local Administrators group for the target server
    Full access to the source and target mailboxes



    I would also use a non-admin level account, and ensure it has SEND AS and RECEIVE AS perms on that mailbox. Then test.
  • Monday, November 09, 2009 8:31 AMXiu Zhang - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi,

     

    1. Please verify if Exchange 2003 Exchange 2007 SP1 Admin Tools, Exchange 2003 management tools along with the outlook 2007 client are installed on the Client System.

    Please follow the steps below to solve the problem.

     

    1.    Uninstall the Exchange 2003 Management tools from the Client System.

    2.     Close all MAPI applications.

    3.    Open up command window & run FixMapi.exe from command prompt.

    4.    On successful run of command nothing will be displayed on the screen & you should be back to command prompt.

    5.    Try to run the command export-mailbox and this time it will be successful.

     

    2. Please verify if Exchange 2007 SP1 Admin Tools (Exchange Management Console) are installed on workstation hosted on VMWare. Exchange 2007 SP1 Administrative Tools (Exchange Management Console) must be installed on a workstation on dedicated hardware, not a virtual machine on VMWare

     

    Regards,

    Xiu

All Replies

  • Saturday, November 07, 2009 8:46 PMAndyD_MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I would confirm the account has all the necessary permissions required for export-mailbox. http://technet.microsoft.com/en-us/library/aa998579.aspx

    Exchange Server Administrator role and local Administrators group for the target server
    Full access to the source and target mailboxes



    I would also use a non-admin level account, and ensure it has SEND AS and RECEIVE AS perms on that mailbox. Then test.
  • Monday, November 09, 2009 8:31 AMXiu Zhang - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi,

     

    1. Please verify if Exchange 2003 Exchange 2007 SP1 Admin Tools, Exchange 2003 management tools along with the outlook 2007 client are installed on the Client System.

    Please follow the steps below to solve the problem.

     

    1.    Uninstall the Exchange 2003 Management tools from the Client System.

    2.     Close all MAPI applications.

    3.    Open up command window & run FixMapi.exe from command prompt.

    4.    On successful run of command nothing will be displayed on the screen & you should be back to command prompt.

    5.    Try to run the command export-mailbox and this time it will be successful.

     

    2. Please verify if Exchange 2007 SP1 Admin Tools (Exchange Management Console) are installed on workstation hosted on VMWare. Exchange 2007 SP1 Administrative Tools (Exchange Management Console) must be installed on a workstation on dedicated hardware, not a virtual machine on VMWare

     

    Regards,

    Xiu

  • Monday, November 09, 2009 10:54 AM--Vinod-- Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    In addition to others also read the below article completely

    How to Export Mailbox Data
    Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|