test-migrationserveravailability returns the above if ran from exchange server powershell and returns the below if run from exchange online powershell:
RunspaceId : bc278b90-77e5-4ff9-b007-ef33cbe088d3
Result : Failed
Message : The ExchangeRemote endpoint settings could not be determined from the autodiscover response. No MRSProxy was found running at 'nhwebmail.icom.lb'.
SupportsCutover : False
ErrorDetail : internal error:Microsoft.Exchange.Migration.MigrationRemoteEndpointSettingsCouldNotBeAutodiscoveredException: The ExchangeRemote endpoint settings could not be determined from the autodiscover response. No MRSProxy
was found running at 'nhwebmail.i.com.lb'. ---> Microsoft.Exchange.Migration.MigrationServerConnectionFailedException: The connection to the server 'nhwebmail.i.com.lb' could not be completed. --->
Microsoft.Exchange.MailboxReplicationService.MRSRemoteTransientException: The call to 'https://nhwebmail.i.com.lb/EWS/mrsproxy.svc' failed. Error details: The HTTP service located at
https://nhwebmail.i.com.lb/EWS/mrsproxy.svc is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is
correct and try accessing the service again later. --> The remote server returned an error: (503) Server Unavailable.. ---> Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: The HTTP service
located at https://nhwebmail.i.com.lb/EWS/mrsproxy.svc is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the
address is correct and try accessing the service again later. ---> Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: The remote server returned an error: (503) Server Unavailable.
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.ReconstructAndThrow(String serverName, VersionInformation serverVersion)
at Microsoft.Exchange.Connections.Common.WcfClientWithFaultHandling2.<>c__DisplayClass4_0.<CallService>b__0() at Microsoft.Exchange.Net.WcfClientBase
1.CallService(Action serviceCall, String context)
at Microsoft.Exchange.Connections.Common.WcfClientWithFaultHandling2.CallService(Action serviceCall, String context) at Microsoft.Exchange.MailboxReplicationService.WcfClientWithVersion
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.MigrationEndpointVerifier.VerifyConnectivity(MigrationEndpointBase endpoint)
at Microsoft.Exchange.Management.Migration.MigrationService.Endpoint.TestMigrationServerAvailability.InternalProcessEndpoint(Boolean fromAutoDiscover)
--- End of inner exception stack trace ---
TestedEndpoint :
IsValid : True
Identity :
ObjectState : New