two 2013 exchange servers in dag group, doing hybrid migration to 365.
Hybrid Migration Wizard fails with Configure MRS Proxy Settings - HCW8078 Migration Endpoint could not be reached
took following steps to test.
1. (Get-WebServicesVirtualDirectory|fl ExternalAuthenticationMethods,Externalurl,MRSproxyEnabled,Server
both servers true
2. Test-mrshealth - both servers true
3. https://mail.exampledomain/ews/mrsproxy.svc does pop up an authentication prompt, so that works
4. test-migrationserveravailability worked on both commands below:
Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress user@contoso.com -Credentials $Cred
Test-MigrationServerAvailability -ExchangeRemoteMove -RemoteServer mail.contoso.com -Credentials(Get-Credential)
5. Checked the IIS logs only thing I found was below, and not sure where to go next:
Ews,mail.exampledomain.com,/ews/mrsproxy.svc,,Negotiate,true,mydomain\simpsonj,,OrganizationId~OrganizationAnchor@,Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/72.0.3626.121 Safari/537.36,xxx.xxx.xxx.xxx,myexchangeP,400,400,,GET,Proxy,myexchangep.mydomain.com,15.00.1395.000,IntraForest,ForestWideOrganization,Database~47f4d717-19bb-44fd-8207-6e33bda03022~~2019-04-15T18:04:29,,,0,0,1,,0,0,,0,,0,,0,0,,0,4,0,,,,1,0,,,0,0,4,0,3,3,3,3,4,,,,BeginRequest=2019-03-16T18:04:58.408Z;CorrelationID=<empty>;ProxyState-Run=None;ServerLocatorRefresh=47f4d717-19bb-44fd-8207-6e33bda03022;RefreshingCacheEntry=CacheEntry(BackEndServer myexchangep.mydomain.com~1941996915|ResourceForest |LastRefreshTime 2019-03-16T17:34:55.9671984Z|IsSourceCachedData True);FEAuth=BEVersion-1941996915;BeginGetResponse=2019-03-16T18:04:58.408Z;OnResponseReady=2019-03-16T18:04:58.408Z;EndGetResponse=2019-03-16T18:04:58.408Z;ProxyState-Complete=ProxyResponseData;EndRequest=2019-03-16T18:04:58.408Z;,WebExceptionStatus=ProtocolError;ResponseStatusCode=400;WebException=System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.Exchange.HttpProxy.ProxyRequestHandler.<>c__DisplayClass2c.<OnResponseReady>b__2b()