title: What does "Can not connect to the database in its current state" mean on azure-sql?
body: <p>I have recently started receiving &quot;Can not connect to the database in its current state.&quot; when trying to connect to my Azure SQL database.  As far as I am aware nothing has changed and I get the same error using the query tool in the Azure portal itself using etiher sql authentication or Azure Ad authentication.</p>
  <p>The server status is &quot;online&quot; and the trouble-shooter says that it can not find any issues. I have a limit on the billing of the account but have not hit it.</p>
  <p>I cant find any way of &quot;restarting&quot; the sql instance or any logs that indicate what might be wrong.  I cant raise a support ticket as the troubleshooter suggests that nothing is wrong.</p>
  <p>Does anyone have any insight as to what might cause this or what I might try to get it resovled?</p>
  <p>Edit:  I believe that this is an error code for a Billing issue now - despite the billing appearing fine the subscription is disabled.  All of the help articles indicated that code changes were needed to connect reliably but I dont think that is the case.</p>
  <p>thanks in advance.</p>