Adding an Azure SQL Database as an MS SQL Monitor

Adding an Azure SQL Database as an MS SQL Monitor

Troubleshooting guide for Azure SQL Database monitoring in ManageEngine Applications Manager.

Azure SQL Database has connection and firewall requirements that differ from an on-premises SQL Server. Check the server name, firewall rules and database name when adding the monitor.

1. Cannot open server '<name>' requested by the login. The login failed.

What it means: Azure could not match the request to a server or would not allow the client to reach it. Although the message appears to indicate a login failure, the credentials may be correct.

  1. Use the fully qualified server name. In the monitor's Host Name field, enter <your-server>.database.windows.net. A short server name will not resolve to the Azure SQL server.
  2. Add the Applications Manager host to the Azure SQL firewall. In the Azure portal, open the SQL server, navigate to Networking → Firewall rules, and add the public IP address of the machine running Applications Manager. Save the rule and allow time for it to take effect.
  3. Specify the database name. Enter the database to be monitored in the monitor's database field.
  4. Check the login format. If the plain user name is rejected, try user@your-server, as some drivers require this format.

2. The client with IP address '<address>' is not allowed to access the server.

What it means: The client host's IP address is not included in the Azure SQL server firewall rules.

What to do: Add the IP address shown in the error message to the SQL server's firewall rules. Azure reports the public IP address it sees, which may differ from the address displayed on the Applications Manager machine. Use the address from the error message.

If the Applications Manager host uses a changing public IP address, ask your Azure administrator about a firewall rule covering the required range or connecting through a private endpoint.

Suggested KB slug: adding-an-azure-sql-database-as-an-mssql-monitor


                    New to ADSelfService Plus?

                      • Related Articles

                      • Azure SQL Database - FAQ

                        1. Why have we removed the Diagnostic Settings dependency in Azure SQL Database monitor? Till APM v15240: Azure SQL Database was using Diagnostic Settings to perform data collection. Prerequisites had to be fulfilled to turn on Diagnostic Settings ...
                      • Troubleshooting issues while adding an MS SQL Monitor

                        Work through the checks below to resolve the errors most often seen when adding a Microsoft SQL Server monitor in Applications Manager. Each section names the error message it applies to. If the monitor reports a rejected login — Login failed for ...
                      • How to troubleshoot MS SQL login failure

                        Applications Manager reached the SQL Server instance, but the server refused the credentials. Two different problems produce a login failure. Match the message you see, then follow that section. Applications Manager shows Authentication failed: ...
                      • Azure SQL Database - Troubleshooting - Add client IP to Azure firewall

                        "Connection to the database failed with error : Cannot open server <ServerName> requested by the login. Client with IP address <SomeIP> is not allowed to access the server.  To enable access, use the Windows Azure Management Portal or run ...
                      • How do I resolve certificate validation failures when "Validate Server Certificate" is enabled in the MS SQL monitor?

                        When Validate Server Certificate is enabled, the MS SQL monitor checks the certificate the SQL Server presents. Three different checks can fail, and each has its own message. Match the message you see, then follow that section. On this page The ...