Forum Discussion
angeloforum
Dec 17, 2020Copper Contributor
MRS Proxy
Goodmorning everyone,
in my company we have two exchanges (one 2016 and one 2019) configured in hybid mode with Office365.
Everything works correctly and without problems, the only problem I encounter is that when I turn off the Exchange 2016 and try to migrate an ExchangeOnLine mailbox from Office365 the new migration batch gives me this error:
error
The connection to the server 'mail.namecorporation.it' could not be completed.
If, i poweron the exchange 2016, everything returns to work correctly. On virtual directories on both roles EWS is set with "Enable MRS proxy endpoint".
At the network level I have checked and everything seems ok with regards to pointing.
I was wondering if there was some sort of priority within the exchange organization between the two servers for managing the migration of the online mailbox, and if there was where can I find it?
Also does anyone know the type of HTTPS string that arrives as a request from Office365 to Exchange? For example, when calling OWA the string is of this type https://mail.company.it/owa, when calling EWS same URL but ending with EWS.
Since I saw that it uses EWS to manage the migration I was wondering how the request was written.
Thanks in advance for the help
Regards
Angelo
Hi angeloforum,
When you enable MRSProxy on servers you will need to do IISReset on those servers to fully enable them.
Can you do IISReset on other servers ? Are all services pointing to 2019 ?
Best Regards,
Nuno Árias Silva
Office Apps and Services
https://www.nuno-silva.net
- angeloforumCopper Contributor
Hi NunoAriasSilva,
yes i have restart iis but nothing change.
Yes all service point new server exchange 2019.
Hi have try this test in PS:
Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress angelotest4@mycompany.it
this is the output:
PS C:\> Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress angelotest4@mycompany.it
Richiesta credenziali di Windows PowerShell: cmdlet Test-MigrationServerAvailability at command pipeline position 1
Avviso: uno script o un'applicazione nel computer remoto OUTLOOK.OFFICE365.COM ha richiesto le credenziali dell'utente.
Immettere le credenziali solo se si considerano attendibili il computer remoto e l'applicazione o lo script che le
richiede.Supply values for the following parameters:
Credentials
RunspaceId : f94047a5-e3b6-4315-80a8-5f048583a837
Result : Failed
Message : The ExchangeRemote endpoint settings could not be determined from the autodiscover response. No
MRSProxy was found running at 'mail.mycompany.it'.
SupportsCutover : False
ErrorDetail : internal
error:Microsoft.Exchange.Migration.MigrationRemoteEndpointSettingsCouldNotBeAutodiscoveredException:
Non sono riuscito a stabilire le impostazioni dell'endpoint ExchangeRemote dalla risposta
dell'individuazione automatica. Non ci sono MRSProxy in esecuzione su 'mail.mycompany.it'. --->
Microsoft.Exchange.Migration.MigrationServerConnectionFailedException: Non sono riuscito a
completare la connessione al server 'mail.mycompany.it'. --->
Microsoft.Exchange.MailboxReplicationService.MRSRemoteTransientException: La chiamata a
'https://mail.mycompany.it/EWS/mrsproxy.svc' non è riuscita. Dettagli errore: The underlying connection
was closed: A connection that was expected to be kept alive was closed by the server. --> The
underlying connection was closed: A connection that was expected to be kept alive was closed by the
server. --> Unable to read data from the transport connection: 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. --> 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. --->
Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: The underlying connection
was closed: A connection that was expected to be kept alive was closed by the server. --->
Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: The underlying connection
was closed: A connection that was expected to be kept alive was closed by the server. --->
Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: Unable to read data from
the transport connection: 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. ---> Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException: 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
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
--- 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.WcfClientWithFaultHandling`2.<>c__DisplayClass4_0.<CallSe
rvice>b__0()
at Microsoft.Exchange.Net.WcfClientBase`1.CallService(Action serviceCall, String context)
at Microsoft.Exchange.Connections.Common.WcfClientWithFaultHandling`2.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.TestMigrationServerAvailabili
ty.InternalProcessEndpoint(Boolean fromAutoDiscover)
--- End of inner exception stack trace ---
TestedEndpoint :
IsValid : True
Identity :
ObjectState : NewRegards
Angelo
Hi angeloforum,
Regarding the error that you are facing may be some permissions or problems on Autodiscover.
Enable the MRSProxy and set the authentication required to perform the move. To do this, run the following cmdlet:
Set-WebServicesVirtualDirectory -Identity "Server\EWS (default Web site)" –MRSProxyEnabled $true – WSSecurityAuthentication $TrueCan you see this post if it resolves the problem?
Unable to configure migration Endpoint - Hybrid Exchange - Microsoft Tech Community
Best Regards,
Nuno Árias Silva
Office Apps and Services
https://www.nuno-silva.net