Issue:
When Testing the Hybrid Connectivity using the below Command,
Test-HybridConnectivity testO365Endpoints
Resolution for Invoke-WebRequest Error:
Checked with Microsoft by raising a Support case. It seems that the host watchdog.servicebus.windows.net is no longer. Which is why it could not be reached.
To resolve this issue, as recommended by Microsoft, commented out the line in the PowerShell script and now it is completed without any issues.
#Exchange #exchangeOnline #Hybrid #Invoke-WebRequest