When performing a manual switch with Migration Manager for Exchange, a MAPI logon failed error may be displayed, along with "The Operation is pending"
EMWmigration.log files may show similar log lines to the following:
2014-10-01 18:36:31.7622 PxEE8 Tx9 A- C- M- Error Quest.MigrationManager.Exchange.Basis.MapiLogonException: Mapi logon failed. | at Quest.MigrationManager.Exchange.Basis.MAPISessionCreator.CreateSessionAndLogon(String serverName, String mailboxName, String userName, String domainName, String password, CONNECT_FLAGS flags, aeMAPIStoreWrapped& primaryStore)
at Dell.MigrationManagerForExchange.General.MAPI.MapiSessionCreator.get_MapiSession()
at Dell.MigrationManagerForExchange.Shared.Mapi.MapiPostAssist..ctor(String ledn, NetworkCredential exchangeCredentials, IMailboxDatabaseInfo mdbInfo)
at Dell.MigrationManagerForExchange.Shared.Switching.ExchConnectionCurator.GetPostAssist()
at Dell.MigrationManagerForExchange.Shared.Dis.DisSwitcher.get_SourcePostAssist()
at Dell.MigrationManagerForExchange.Shared.Switching.BaseSwitcher.Switch()
at Dell.MigrationManagerForExchange.API.DoSwitch.SwitchUnswitch(Boolean isSwitch, IMailbox mailbox, ICollection collection)
System.Exception: Failed to Switch user. The operation is pending. ---> Quest.MigrationManager.Exchange.Basis.MapiLogonException: Mapi logon failed. ---> System.Runtime.InteropServices.COMException (0x8004011D): The Microsoft Exchange Server computer is not available. Either there are network problems or the Microsoft Exchange Server computer is down for maintenance. - MAPI_E_FAILONEPROVIDER (Microsoft Exchange Server Information Store) Low level error: 0x0 File: 'aeWrapHelpers.h' Line: '279'
MFCMAPI Tests as per the following article were tested exactly as described without issue: