Office 365 was unable to communicate with your on-premises Autodiscover endpoint. This is typically due to incorrect DNS ...

Office 365 was unable to communicate with your on-premises Autodiscover endpoint.  This is typically due to incorrect DNS or firewall configuration.  The Office 365 tenant is currently configured to use the following URL for Autodiscover queries from the Office 365 tenant to the on-premises organization - {0}.