Issue:
When running the Hybrid Configuration Wizard, It is failing with the following error.
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.
Now,let’s run the Exchange Hybrid Configuration Wizard and you could see that it is completed without any issues.
![Exchange Online](https://static.wixstatic.com/media/0a0d80_bb02341dc8a344afa186d9c603403dfd~mv2.png/v1/fill/w_980,h_755,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/0a0d80_bb02341dc8a344afa186d9c603403dfd~mv2.png)