The connection to the server failed when running Hybrid Agent Setup

Issue:

When running the Hybrid Configuration Wizard, It is failing with the follow error.

Resolution:

It is ideally Exchange Web Services not allowed with required Authentication methods to proceed with the Hybrid Configuration.

Step 1: Open Exchange Management Shell and run the below commands one by one to make the necessary changes on EWS Virtual Directory.

Set-WebServicesVirtualDirectory –identity EXCHANGESERVER\”EWS (Default Web Site)” -MRSProxyEnabled $false

Set-WebServicesVirtualDirectory –identity EXCHANGESERVER\”EWS (Default Web Site)” -MRSProxyEnabled $true

Set-WebServicesVirtualDirectory –identity EXCHANGESERVER\”EWS (Default Web Site)” -BasicAuthentication $TRUE

Step 2: Now let’s validate manually whether the changes are set as per the commands executed.

Now,let’s run the Exchange Hybrid Configuration Wizard and you could see that it is completed without any issues.

Leave a Reply

Your email address will not be published. Required fields are marked *