Azure subscription errors

Azure subscription disabled at its spending limit: how do I get it back?

When an Azure subscription with credit reaches its spending limit, Azure disables it for the rest of that billing period: VMs are stopped and deallocated, storage turns read-only and other services stop. The fastest way back is removing the spending limit in Cost Management + Billing, or upgrading to pay-as-you-go on a free account; otherwise a subscription with monthly credit re-enables itself when the next billing period starts.

Only credit offers have this limit, such as the Azure free account with USD 200 of credit for 30 days and Visual Studio subscriptions with monthly credit. Pay-as-you-go subscriptions never show it. The background is in our guide to the Azure spending limit; this page is about getting a disabled subscription running again.

What still works while it's disabled

Microsoft describes the state like this: "Your Azure subscription is disabled and can no longer be used to create or manage Azure resources. While in this state, your virtual machines are deallocated, temporary IP addresses are freed, storage is read-only and other services are disabled."

  • You can't create or update resources (PUT, PATCH) or run actions on them (POST).
  • You can still read and delete resources (GET, DELETE), so data in your storage accounts stays readable.
  • Settings like virtual IP addresses are lost when resources are deallocated.
  • You can't transfer ownership of the subscription.

Don't leave it sitting there. Microsoft's subscription states page says that, depending on the subscription type, a disabled subscription might stay disabled for 1 to 90 days before it's permanently deleted.

How to get it back, by subscription type

Your subscriptionWhat happenedFastest way back
Azure free account (USD 200 credit)The credit ran out, or the 30-day credit period endedUpgrade to pay-as-you-go: that removes the limit and re-enables the subscription
Monthly credit, such as Visual Studio Enterprise or ProfessionalThe spending limit was reached for this billing periodRemove the limit for this billing period or for good, or wait for the next billing period
Pay-as-you-go or a commitment planThese have no spending limitNot this error: look for a past-due bill or a card limit
Any subscription with a past-due bill"This subscription is disabled because payment wasn't received. Settle outstanding charges."Pay the balance; reactivation can take up to 24 hours

Remove the spending limit

You need a valid payment method on the subscription, and you have to sign in as the Account Administrator.

  1. Sign in to the Azure portal as the Account Administrator.
  2. Search for Cost Management + Billing.
  3. In the My subscriptions list, select your subscription.
  4. In the subscription overview, select the banner to remove the spending limit.
  5. Choose Remove spending limit indefinitely or Remove spending limit for the current billing period. The second one turns the limit back on when the next period starts.
  6. Select Select payment method, pick the card to bill, then select Finish.

No banner? Check that you're in the right tenant or directory; Visual Studio subscriptions can sit in the directory you first signed up in. You can also open https://portal.azure.com/#blade/Microsoft_Azure_Billing/RemoveSpendingLimitBlade/subscriptionId/ followed by your subscription ID.

On a free account you upgrade instead. Microsoft's warning: if you ran paid resources and then upgrade, "the resources get enabled after upgrade. This situation results in you getting charged for the resources used." Delete what you don't need before you upgrade.

After it comes back

  • Most resources resume on their own. Microsoft still says to check them and restart any that need it.
  • Creating or managing resources can lag for a while. If it takes more than 30 minutes, contact Azure Billing Support.
  • On a monthly credit offer that re-enabled at the new billing period, redeploy what you need; storage accounts and databases are fully accessible again.
  • Expect new addresses wherever you relied on temporary IP addresses, since Azure freed them.

Where Costbrake fits

Removing the limit swaps a hard stop for an open bill: anything above the credit now goes to your payment method. Costbrake can watch that for you. It estimates Azure OpenAI and AI Services token spend and allocated VMs from Azure Monitor every 5 minutes on Pro and Team, every 2 minutes during a spike, and reads billed dollars from Cost Management every 6 hours, since Azure's own cost data is 8 to 72 hours late.

It has two Azure brakes, and both run only when an admin confirms. Deallocate VM shuts a VM down and releases its hardware so compute billing stops; disks keep billing. Turn off API keys turns off key authentication on an Azure OpenAI or AI Services account, so callers using API keys are refused while Microsoft Entra ID callers keep working; Azure can take a few minutes, rarely hours, to enforce it. Neither can re-enable a disabled subscription or remove a spending limit: only Azure can. Plans are on the pricing page, what Costbrake reads is on the Azure integration page, and budgets are covered in Azure budget alerts.

Questions and answers

Can I still get my data out while the Azure subscription is disabled?

Yes. Storage accounts stay readable, and Azure still allows read and delete operations on a disabled subscription. What you can't do is create, update or start resources until the subscription is active again.

How long does it take to re-enable an Azure subscription?

A subscription with monthly credit re-enables at the start of the next billing period. If you pay a past-due balance, reactivation can take up to 24 hours. After it's back, creating or managing resources may lag, and Microsoft says to contact Azure Billing Support if that lasts more than 30 minutes.

Why can't I find the button to remove the Azure spending limit?

Sign in as the Account Administrator and check that you're in the right directory; Visual Studio subscriptions sometimes stay in the directory you first signed up in. Pay-as-you-go and commitment subscriptions have no spending limit at all, so they never show the banner.

Does removing the spending limit for one billing period turn it back on?

Yes. Remove spending limit for the current billing period turns the limit back on automatically when the next billing period starts. Remove spending limit indefinitely keeps it off until you turn it back on yourself.

Does the Azure spending limit stop every charge?

No. Some external services published in the Azure Marketplace can't use your credits and are billed separately even with the limit on, such as Visual Studio licenses, Microsoft Entra ID P1 or P2, support plans and most third-party branded services.

Sources

Updated