When synchronizing a mailbox using the MAgE (Migration Agent for Exchange) the following error is present in the log file for all mailboxes.
2014-04-14 14:07:34.9606 PxFF4 TxD A3 C3 M13 Error Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (440) Login Timeout. | at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)...
The MAgE just loops through all the mailbox and throws the error above. No mailboxes get processed and the agent does not stop or show stopped in the log file. When viewing the mailbox statistics view there is no change in item counts.
This issue is caused by incorrectly configured Exchange Web Services URL within Exchange.
In the MAgE log it will display what the EWS connection it's trying to connect to with the following line.
2014-04-14 14:16:51.7736 PxFF4 Tx18 A3 C3 M13 Info Ews Connection. Url: 'https://servername.domain.com/' Username: 'serviceaccount' Domain: 'domain' Mailbox: 'usermailbox@domain.com PreferredCulture:
To resolve this issue you must properly configure the EWS Virtual Directory from within the Exchange Web or PowerShell Consoles.
Here is the PowerShell CmdLet to set your EWS Exchange Virtual Directory.
Set-WebServicesVirtualDirectory -Identity Contoso\EWS(Default Web Site)-ExternalUrl https://www.contoso.com/EWS/exchange.asmx -BasicAuthentication $true -InternalUrl https://contoso.internal.com/EWS/exchange.asmx
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center