Exchange was unable to communicate with the autodiscover endpoint for your Office 365 tenant. This is typically an outbound ...

Exchange was unable to communicate with the autodiscover endpoint for your Office 365 tenant. This is typically an outbound http access configuration issue. If you are using a proxy server for outbound communication, verify that Exchange is configured to use it via the "Get-ExchangeServer –InternetWebProxy" cmdlet. Use the "Set-ExchangeServer –InternetWebProxy " cmdlet to configure if needed.