Exchange Online PowerShell

Issue:

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

Exchange Online

Resolution for this Hybrid Agent Error:

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 commands below individually 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.

Exchange Online
Exchange Online

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

Exchange Online

#Exchange #exchangeOnline #Hybrid

Author

Leave a comment

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