MAgE is using EWS for the source mailbox and despite successfully synchronising a given mailbox, when it comes to switching the mailbox the MAgE generates the below error:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Quest.MigrationManager.Exchange.O365UserProvisioning.ExchangeWebServices.ExchangeServiceBinding.FindItem(FindItemType FindItem1)
at Quest.MigrationManager.Exchange.O365UserProvisioning.EwsPostAssist.FindMessagesBySubject(String subject, Boolean isAssociated)
at Quest.MigrationManager.Exchange.O365UserProvisioning.EwsPostAssist.RemoveMessages(String subject, Boolean isAssociated)
at Quest.MigrationManager.Exchange.O365UserProvisioning.CpuuHelper.RemoveSwitchMessageOnSource()
at Quest.MigrationManager.Exchange.O365UserProvisioning.CpuuHelper.PutSwitchMessageOnSource()
at Quest.MigrationManager.Exchange.O365UserProvisioning.O365UserProvisioning.Switch(Int32 mailboxId, Int32 collectionId, Boolean rollbackSwitchOnFail, ExchangeProtocol srcMbxProtoPreference)
Trace Quest.MigrationManager.Exchange.Agent.Jobs.JobExceptionNotFatalSwitchFail`1[Quest.MigrationManager.Exchange.Agent.Jobs.O365Job]: Switch failed | at Quest.MigrationManager.Exchange.Agent.Jobs.O365Job.RunJobHandleException(Exception ex, JobReportBase report)
[inner] Quest.MigrationManager.Exchange.O365UserProvisioning.SwitchException: Failed to Switch user. | at Quest.MigrationManager.Exchange.O365UserProvisioning.O365UserProvisioning.Switch(Int32 mailboxId, Int32 collectionId, Boolean rollbackSwitchOnFail, ExchangeProtocol srcMbxProtoPreference)
at Quest.MigrationManager.Exchange.Agent.Jobs.O365Job.Switch()
at Quest.MigrationManager.Exchange.Agent.Jobs.O365Job.SwitchAndSetTimeStamp()
at Quest.MigrationManager.Exchange.Agent.Jobs.O365Job.CheckAndTrySwitchInternal()
[inner] System.Net.WebException: The request failed with an empty response. | at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Quest.MigrationManager.Exchange.O365UserProvisioning.ExchangeWebServices.ExchangeServiceBinding.FindItem(FindItemType FindItem1)
at Quest.MigrationManager.Exchange.O365UserProvisioning.EwsPostAssist.FindMessagesBySubject(String subject, Boolean isAssociated)
at Quest.MigrationManager.Exchange.O365UserProvisioning.EwsPostAssist.RemoveMessages(String subject, Boolean isAssociated)
at Quest.MigrationManager.Exchange.O365UserProvisioning.CpuuHelper.RemoveSwitchMessageOnSource()
at Quest.MigrationManager.Exchange.O365UserProvisioning.CpuuHelper.PutSwitchMessageOnSource()
at Quest.MigrationManager.Exchange.O365UserProvisioning.O365UserProvisioning.Switch(Int32 mailboxId, Int32 collectionId, Boolean rollbackSwitchOnFail, ExchangeProtocol srcMbxProtoPreference)