endpoint cant be created hcw

eg1995 1,131 Reputation points
2021-02-10T11:15:39.763+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>b0()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(Action operation)
at Microsoft.Exchange.MailboxReplicationService.MailboxReplicationServiceFault.ReconstructAndTh
row(String serverName, VersionInformation serverVersion)
at Microsoft.Exchange.MailboxReplicationService.WcfClientWithFaultHandling2.<>cDisplayClass1 .<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
moreover, i updated the credentials used for the endpoint with no luck and i cant create endpoint on both on prem server and exchange online

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,193 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,357 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,896 questions
0 comments No comments
{count} votes

Accepted answer
  1. eg1995 1,131 Reputation points
    2021-02-19T07:23:23.85+00:00

    fixed my ms support
    exchange self signed certificate was missing from the mbxs and on the frontend

    posting this if anyone would face this issue in the futur

    thanks

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,646 Reputation points
    2021-02-11T05:51:54.377+00:00

    Hi @eg1995

    According to your information above, you have updated the credential in migration endpoint and still get the error the connection to the server could not be completed. We could try recycling the MSExchangeServicesAppPool on Exchange server.

    What changes have been made to your environment recently? Have you tried creating a new endpoint and verify the result again

    New-MigrationEndpoint -Name Endpoint1 -ExchangeRemoteMove -EmailAddress user@Company portal .com -Credentials (Get-Credential contoso\admin) -SkipVerification -Autodiscover

    Please also refer to the official document which introduced about Troubleshooting issues where the hybrid migration endpoint cannot be created


    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

  2. Elio Gebrayel 1 Reputation point
    2021-02-11T06:54:13.737+00:00

    i did all the above
    nothing changed


  3. Elio Gebrayel 1 Reputation point
    2021-02-10T14:51:32.337+00:00

    the above was run from exchange server powershell.
    if the test command is from echange online the error is the below:

    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.i.com.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.itg.com.lb'. ---> Microsoft.Exchange.Migration.MigrationServerConnectionFailedException: The connection to the server 'nhwebmail.icom.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.icom.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

    0 comments No comments