Link to home
Start Free TrialLog in
Avatar of Ben S
Ben S

asked on

Exchange 2010 to Office 365 Remote Move Migration

Hi,

I’m currently trying to migrate from Exchange 2010 to Office 365, I have installed the hybrid configuration wizard and just tried to set up the first test migration but get the error ‘The connection to the server could not be completed’ the exchange server was behind a NetScaler but a new rule has been applied to bypass this.


I have confirmed that MRSProxyEnabled is set to True using Get-WebServicesVirtualDirectory | FL

[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | FL
 
 CertificateAuthentication       :
InternalNLBBypassUrl            : https://sbsexch1.sbs.co.uk/ews/exchange.asmx
GzipLevel                       : High
MRSProxyEnabled                 : True
MRSProxyMaxConnections          : 100
Name                            : EWS (Default Web Site)
InternalAuthenticationMethods   : {Ntlm, WindowsIntegrated, WSSecurity}
ExternalAuthenticationMethods   : {Ntlm, WindowsIntegrated, WSSecurity}
LiveIdSpNegoAuthentication      : False
WSSecurityAuthentication        : True
LiveIdBasicAuthentication       : False
BasicAuthentication             : False
DigestAuthentication            : False
WindowsAuthentication           : True
MetabasePath                    : IIS://SBSEXCH1.sbs.co.uk/W3SVC/1/ROOT/EWS
Path                            : D:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\exchweb\EWS
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : SBSEXCH1
InternalUrl                     : https://sbsexch1.sbs.co.uk/EWS/Exchange.asmx
ExternalUrl                     : https://mail.sbs.co.uk/ews/exchange.asmx


When testing with Test-MigrationServerAvailability I get Failed
Result             : Failed
Message            : The connection to the server 'webmail.sbs.co.uk' could not be completed.
ConnectionSettings :
SupportsCutover    : False
ErrorDetail        : Microsoft.Exchange.Migration.MigrationServerConnectionFailedException: The connection to the server 'webmail.sbs.co.uk' could not be completed. ---> Microsoft.Exchange.MailboxReplicationService.RemoteTransientException: The
                     call to 'https://webmail.sbs.co.uk/EWS/mrsproxy.svc' failed because no service was listening on the specified endpoint. Error details: There was no endpoint listening at https://webmail.sbs.co.uk/EWS/mrsproxy.svc that
                     could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. --> Unable to connect to the remote server --> A connection attempt failed because the connected
                     party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.x.x.x:443 ---> Microsoft.Exchange.MailboxReplicationService.RemotePermanentException: There was
                     no endpoint listening at https://webmail.sbs.co.uk/EWS/mrsproxy.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. --->
                     Microsoft.Exchange.MailboxReplicationService.RemotePermanentException: Unable to connect to the remote server ---> Microsoft.Exchange.MailboxReplicationService.RemotePermanentException: A connection attempt failed because the connected
                     party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.x.x:443
                        --- End of inner exception stack trace ---
                        --- End of inner exception stack trace ---
                        --- End of inner exception stack trace ---
                        at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.<>c__DisplayClass98_0.<ReconstructAndThrow>b__0()
                        at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(Action operation)
                        at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.ReconstructAndThrow(String serverName, VersionInformation serverVersion)
                        at Microsoft.Exchange.MailboxReplicationService.WcfClientWithFaultHandling`2.<>c__DisplayClass7_0.<CallService>b__0()
                        at Microsoft.Exchange.Net.WcfClientBase`1.CallService(Action serviceCall, String context)
                        at Microsoft.Exchange.MailboxReplicationService.WcfClientWithFaultHandling`2.CallService(Action serviceCall, String context)
                        at Microsoft.Exchange.Migration.MigrationExchangeProxyRpcClient.CanConnectToMrsProxy(Fqdn serverName, Guid mbxGuid, NetworkCredential credentials, LocalizedException& error)
                        --- End of inner exception stack trace ---
                        at Microsoft.Exchange.Migration.DataAccessLayer.ExchangeRemoteMoveEndpoint.VerifyConnectivity()
                        at Microsoft.Exchange.Management.Migration.MigrationService.Endpoint.TestMigrationServerAvailability.InternalProcessEndpoint(Boolean fromAutoDiscover)
IsValid            : True
Identity           :
ObjectState        : New

I see these in the IIS logs
IIS LOGS
 
2018-04-20 15:11:32 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 - fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 0
2018-04-20 15:11:32 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 15
 
2018-04-20 15:11:32 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 171
2018-04-20 15:11:32 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 0
 
 
2018-04-20 15:11:49 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 - fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 15
2018-04-20 15:11:49 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 0
2018-04-20 15:11:49 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 171
 
2018-04-20 15:11:50 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 500 0 0 0
 
2018-04-20 15:12:00 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 0
2018-04-20 15:12:00 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 200 0 0 140
2018-04-20 15:12:00 fe80::5561:c892:a272:d5c3%17 POST /powershell serializationLevel=Full;ExchClientVer=14.3.123.4;PSVersion=2.0 80 SBLAN\svc.o365 fe80::5561:c892:a272:d5c3%17 Microsoft+WinRM+Client 500 0 0 0
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

That error messsage hints for a network issue, can you actually access the MRS endpoint externally?
Avatar of Ben S
Ben S

ASKER

Hi Vasil,

for OWA https://mail.sbs.co.uk is accessible externally via the load balancer which is doing SSL offloading,  https://webmail.sbs.co.uk/EWS/mrsproxy.svc is locked down to only the Office 365 IP ranges.

Regards,
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ben S

ASKER

Thank you for the help Vasil, going to try bypassing the LB