Since moving hybrid configuration from Exchange 2010 to Exchange 2013 we are experiencing issues moving student mailboxes to the 0ffice 365 .
Please see below.
Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress username@student
.domain.com -Credentials $Cred
RunspaceId : 003f5db1-fd81-4a52-9acd-e232f329e6f6
Result : Failed
Message : AutoDiscover failed with a configuration error: The migration service failed to detect the
migration endpoint using the Autodiscover service. Consider using the Exchange Remote
Connectivity Analyzer (https://testexchangeconnectivity.com) to diagnose the connectivity issues.
ConnectionSettings :
SupportsCutover : False
ErrorDetail : internal error:Microsoft.Exchange.Migration.AutoDiscoverFailedConfigurationErrorException:
AutoDiscover failed with a configuration error: The migration service failed to detect the
migration endpoint using the Autodiscover service. Consider using the Exchange Remote
Connectivity Analyzer (https://testexchangeconnectivity.com) to diagnose the connectivity issues.
at Microsoft.Exchange.Migration.DataAccessLayer.MigrationEndpointBase.InitializeFromAutoDiscove
r(SmtpAddress emailAddress, PSCredential credentials)
at Microsoft.Exchange.Management.Migration.TestMigrationServerAvailability.InternalProcessExcha
ngeRemoteMoveAutoDiscover()
IsValid : True
Identity :
ObjectState : New
From the connectivity analyser, I see the following.
It firstly successfully found the IP address:
Attempting to resolve the host name autodiscover.student.saintaug.nsw.edu.au in DNS.
The host name resolved successfully.
IP addresses returned:
Testing TCP port 443 on host autodiscover.student.saintaug.nsw.edu.au to ensure it's listening and open.
The port was opened successfully.
Testing the SSL certificate to make sure it's valid:
The certificate passed all validation requirements.
Remote Certificate Subject: CN=*.,
The certificate name was validated successfully.
The host name that was found, autodiscover.student.saintaug.nsw.edu.au, is a wildcard certificate match for common name *.
The certificate is trusted and all certificates are present in the chain.
However, some error on this: Client certificate authentication couldn't be determined because an unexpected failure occurred. WinHttpSendRequest failed with error 12175.
The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://autodiscover. student.domain.com:443/Autodiscover/Autodiscover.xml for user user@.student.domain.com
Exception details: Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Type: System.Net.WebException Stack trace: at System.Net.HttpWebRequest.GetResponse() at Microsoft.Exchange.Tools.ExRca.Extensions.RcaHttpRequest.GetResponse() Exception details: Message: The remote certificate is invalid according to the validation procedure. Type: System.Security.Authentication.AuthenticationException Stack trace: at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async)
Are you able to assist.
Thank you