When synchronizing mail to Exchange 2013 a mailbox is marked as failed with the reason that the "Value cannot be null".
A closer look at the MAgE (Migration Agent for Exchange) log shows the below error.
2015-03-02 23:02:21.8086 Px85C Tx26 A35 C20 M305 Error System.ArgumentNullException: Value cannot be null.
Parameter name: uriString
at System.Uri..ctor(String uriString)
at Dell.MigrationManagerForExchange.General.Ews.Autodiscover.GetEwsUrlInternal(String emailAddress, NetworkCredential creds, Uri& autodiscoverUrl, Boolean enableScpLookup)
at Dell.MigrationManagerForExchange.General.Ews.Autodiscover.GetEwsUrl(String emailAddress, NetworkCredential creds, Uri& autodiscoverUrl, Boolean enableScpLookup)
at Dell.MigrationManagerForExchange.General.Ews.EwsSessionCreator.DiscoverUrl()
at Dell.MigrationManagerForExchange.General.Ews.EwsSessionCreator.get_Url()
at Dell.MigrationManagerForExchange.General.Ews.EwsSessionCreator.GetExchangeService()
You can use the below PowerShell command to set the internal EWS URL.
Set-WebServicesVirtualDirectory -identity "CAS01\EWS (Default Web Site)" -externalurl https://mail.contoso.com/EWS/Exchange.asmx -BasicAuthentication:$True
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center