Unable to connect to Azure SQL Error 40613

Frank Kohler 20 Reputation points
2023-07-25T12:34:57.58+00:00

I am unable to connect to Azure SQL and the query editor in Azure portal does not work either. I am also unable to add additional addresses to the firewall, and cannot export the database. This has been going on for the last 18 hours.

Error:

TITLE: Connect to Server


Cannot connect to xxxxxxxx.database.windows.net.


ADDITIONAL INFORMATION:

Database 'master' on server 'xxxxxxxx.database.windows.net' is not currently available. Please retry the connection later. If the problem persists, contact customer support, and provide them the session tracing ID of '{D3A59D46-63E4-4985-9FCF-633E7EC7841A}'. (Microsoft SQL Server, Error: 40613)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-40613-database-engine-error

Azure SQL Database
{count} votes

Accepted answer
  1. Rahul Randive 6,776 Reputation points Microsoft Employee
    2023-07-25T16:22:05.4466667+00:00

    Hi @Frank Kohler

    When you try to connect to a SQL database, the login request first goes to the logical master database to confirm your credentials. If the master database is not available, the connection to your database may take longer or time out.

    In your case, look like master database is not available and could be backend issue. Which region is your server hosted?

    As mentioned by Alberto, you can open a support case and share the case number if possible.

    Thank you!

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Alberto Morillo 32,711 Reputation points MVP
    2023-07-25T15:41:35.9733333+00:00

    The best way to address this issue if it persists, is to contact customer support. You have been seen this over the last 16 hours, please create a support ticket.

    0 comments No comments