Microsoft Azure - Troubleshooting "Authentication Failed. Reason: Host Unavailable" error
"Authentication failed. Reason: Host Unavailable" - Error message upon adding a New Azure monitor and during data collection
Troubleshooting:
- Ensure that the Applications Manager installed server has internet connectivity. The following hosts must be accessible from the APM server.
Hosts (Azure Global)- login.microsoftonline.com - Used for Authentication in all the services
- management.azure.com - Used for Data Collection in all the services
- <storage-account>.table.core.windows.net - Used to fetch Diagnostic Extension metrics from the Azure Virtual Machine
- Azure SQL DB Server Name - Used to establish a JDBC connection to fetch query metrics (For example, the JDBC Url would be: jdbc:sqlserver://<DBserver>.database.windows.net:1433)
Hosts (Azure Gov Cloud)
- login.microsoftonline.us - Used for Authentication in all the services
- management.usgovcloudapi.net - Used for Data Collection in all the services
- <storage-account>.table.core.usgovcloudapi.net - Used to fetch Diagnostic Extension metrics from the Azure Virtual Machine
- Azure SQL DB Server Name - Used to establish a JDBC connection to fetch query metrics (For example, the JDBC Url would be: jdbc:sqlserver://<DBserver>.database.usgovcloudapi.net:1433)
Hosts (Azure China)
- login.partner.microsoftonline.cn - Used for Authentication in all the services
- management.chinacloudapi.cn - Used for Data Collection in all the services
- <storage-account>.table.core.chinacloudapi.cn - Used to fetch Diagnostic Extension metrics from the Azure Virtual Machine
- Azure SQL DB Server Name - Used to establish a JDBC connection to fetch query metrics (For example, the JDBC Url would be: jdbc:sqlserver://<DBserver>.database.chinacloudapi.cn:1433)
- If your setup uses a proxy, ensure it is properly configured in APM. If proxy exclusions are required, add the above-mentioned hosts to the proxy settings.
- Utilize the URL Debug Tool to verify if you can connect to the specified hosts.
- If the issue occurs intermittently, configure a URL monitor within Applications Manager to track and monitor any potential downtime.
Share the SIF and the above screenshots with our support team at appmanager-support@manageengine.com for further analysis only if the issue persists in Applications Manager but works directly on the server, even after ensuring proper connectivity and proxy configuration.
New to ADSelfService Plus?