unable to move student mailbox to office 365

Hello Support team ,

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

July 8th, 2015 6:03pm

Try opening a PowerShell session to Office 365 and running a command like the following to move the mailbox.

$OnPremCred = Get-Credential -Credential "DOMAIN\ON-PREM_ADMIN_ACCT"
New-MoveRequest -Remote -RemoteHostName 'owa-on-prem.domain.com' -TargetDeliveryDomain 'your_domain.mail.onmicrosoft.com' -RemoteCredential $OnPremCred -Identity "Mailbox Name"
If this is successful, then you're just having problems with the batch process in the EAC and using the Shell is your workaround.  I always use the Shell because I don't like the batch process in the EAC.

Free Windows Admin Tool Kit Click here and download it now
July 8th, 2015 6:31pm

Hi Milan,

Thank you for your question.

Did you move other mailboxes successfully?

By this error, A trusted SSL certificate from a trusted 3rd party required to do a cutover migration to Office 365.

Then, we could refer to the following link to deploy certificate:

https://technet.microsoft.com/en-us/library/hh563848(v=exchg.150).aspx

If there are any questions regarding this issue, please be free to let me know.

Best Regard,

Jim

July 9th, 2015 3:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics