Azure SQL Query Editor Won't C... Note

Azure SQL Query Editor Won't Connect? Start Here

The Azure Portal's Query Editor can experience "failed to fetch" or connection errors that are often not due to the database being down. These issues can originate from various layers, including the user's laptop, corporate proxy, SQL firewall, sign-in process, or the database itself. Identifying the failing layer is crucial for a swift resolution.For public connections, the client's outbound IP address must be added to the server's firewall rules. However, Private Link connections bypass this requirement, necessitating a focus on DNS and network location. A primary check involves testing TCP port 443, as the Query Editor exclusively uses this port starting in March 2026.Corporate proxies are a common cause of these errors, especially if they modify or drop the X-CSRF-Signature header, which can be related to system time settings. Testing from a different network, like a phone hotspot, can help pinpoint proxy-related problems.Authentication is another critical area; signing into the portal does not automatically grant database access. Microsoft Entra authentication requires proper configuration and user creation within the database. A "Not configured to accept this token" error often means a contained user needs to be created.Serverless databases that are paused may display an "unavailable" message, which is resolved by resuming the database. Query Editor has limitations, including a five-minute query timeout and an inability to connect to the master database, necessitating tools like SSMS for more extensive tasks. A quick reference table maps common symptoms to likely layers and initial troubleshooting steps.Finally, it is strongly advised against opening broad IP ranges for firewall access, advocating instead for specific IP additions and removal, or the use of Private Link for sustained access. Most Query Editor failures are attributable to network or identity issues, rather than database server problems, making layer identification the key to finding a simple fix.