exchange hybrid endpoint not working

Elio Gebrayel 1 Reputation point
2021-02-10T11:11:50.337+00:00

dears,

i need your expertise with the below:

exchahge hcw was configured successfully and i was able to migrate mailboxes without any problem
recentlry, when i do it i receive this error: the connection to the server could not be completed

mrs is enabled, tried to disable and reenable with iis reset. nothing changed
wsauth is true too

ews and autodiscover using remote connectivity are working too.

https://webmail.com/ews/exchange.asmx working too internally and externally
https:,//webmail.com/ews/mrsproxy.svc returning error 503 internally and externally

test-migrationserveravailability fails with the below:

RunspaceId : 401fd068-6876-4ad5-995a-816d24ff18ec
Result : Failed
Message : The ExchangeRemote endpoint settings could not be determined from the autodiscover response. No
MRSProxy was found running at 'nhwebmail..com.lb'.
ConnectionSettings :
SupportsCutover : False
ErrorDetail : internal error:Microsoft.Exchange.Migration.MigrationRemoteEndpointSettingsCouldNotBeAutodiscovere
dException: The ExchangeRemote endpoint settings could not be determined from the autodiscover
response. No MRSProxy was found running at 'nhwebmail.itg.com.lb'. --->
Microsoft.Exchange.Migration.MigrationServerConnectionFailedException: The connection to the
server 'nhwebmail.i.com.lb' could not be completed. --->
Microsoft.Exchange.MailboxReplicationService.RemoteTransientException: The call to
'https://nhwebmail.itg.com.lb/EWS/mrsproxy.svc' timed out. Error details: The request channel
timed out attempting to send after 00:00:00.0003137. Increase the timeout value passed to the
call to Request or increase the SendTimeout value on the Binding. The time allotted to this
operation may have been a portion of a longer timeout. --> The HTTP request to
'https://nhwebmail..com.lb/EWS/mrsproxy.svc' has exceeded the allotted timeout of
00:00:00.0003137. The time allotted to this operation may have been a portion of a longer
timeout. ---> Microsoft.Exchange.MailboxReplicationService.RemotePermanentException: The request
channel timed out attempting to send after 00:00:00.0003137. Increase the timeout value passed to
the call to Request or increase the SendTimeout value on the Binding. The time allotted to this
operation may have been a portion of a longer timeout. --->
Microsoft.Exchange.MailboxReplicationService.RemotePermanentException: The HTTP request to
'https://nhwebmail.com.lb/EWS/mrsproxy.svc' has exceeded the allotted timeout of
00:00:00.0003137. The time allotted to this operation may have been a portion of a longer timeout.
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.<>c__DisplayClas
s1.<ReconstructAndThrow>b__0()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(Action operation)
at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.ReconstructAndTh
row(String serverName, VersionInformation serverVersion)
at Microsoft.Exchange.MailboxReplicationService.WcfClientWithFaultHandling2.<>c__DisplayClass1 .<CallService>b__0() at Microsoft.Exchange.Net.WcfClientBase1.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.TestMigrationServerAvailability.InternalProcessEndpo
int(Boolean fromAutoDiscover)
--- End of inner exception stack trace ---
IsValid : True
Identity :
ObjectState : New

i have one cas and one mbx 2013 servers.
in both webconfig files there is no data import number of connections neither mrs proxy connections values. i dont know if this is the issue

i have been stuck with the above
your experience is highly appreciated

thanks

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,115 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,278 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,835 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Elio Gebrayel 1 Reputation point
    2021-02-10T15:43:28.973+00:00

    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.WcfClientBase1.CallService(Action serviceCall, String context)
    at Microsoft.Exchange.Connections.Common.WcfClientWithFaultHandling2.CallService(Action serviceCall, String context) at Microsoft.Exchange.MailboxReplicationService.WcfClientWithVersion2.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


  2. Eric Yin-MSFT 4,386 Reputation points
    2021-02-11T08:29:36.45+00:00

    Hi,
    Please run the following command and see if they both return $true:

    Get-WebServicesVirtualDirectory -Identity "Server\EWS (default Web site)" |fl Server,MRSProxyEnabled,WSSecurityAuthentication  
    

    Have you read this : http://thewindowsupdate.com/2019/10/25/troubleshooting-hybrid-migration-endpoints-in-classic-and-modern-hybrid/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Elio Gebrayel 1 Reputation point
    2021-02-12T08:43:00.503+00:00

    yes all is rightly set but same issue


  4. Elio Gebrayel 1 Reputation point
    2021-02-16T07:17:58.553+00:00

    opened a ms case since friday and we are still blocked
    dead end for the moment


  5. eg1995 1,126 Reputation points
    2021-02-19T09:04:44.857+00:00

    self signed was missing on both mbx servers, recreate it new ones and assigned it to the iis front end
    this was the fix