An Azure relational database service.
Hello MICKAEL FOLIO, it looks like your serverless free-tier database paused when it hit the monthly credit cap, and flipping the freeLimitExhaustionBehavior to BillOverUsage after the fact doesn’t automatically wake it up for that month. You’ve got two quick options to unblock it and get access to your data:
- Manually resume the database
- Azure Portal: Go to your SQL database’s Overview blade and click Resume.
- Azure CLI:
az sql db resume -
Once resumed, you’ll be billed for any over-usage this month because FreeLimitExhaustionBehavior is now BillOverUsage.Resume-AzSqlDatabase ` -ResourceGroupName MyResourceGroup ` -ServerName MyServer ` -DatabaseName MyDatabase - Azure CLI:
- Scale off the free-tier (if you prefer a provisioned tier) If you’d rather just move out of the free-tier entirely, you can bump it up to a paid service tier or provisioned serverless configuration. For example, with Azure CLI:
That will instantly remove the free-limit pause behavior and keep the database online.az sql db update --server MyServer --name MyDatabase --edition GeneralPurpose --compute-model Provisioned --family Gen5 --capacity 2
Additional tips for the future:
• If you want the database to auto-bill and never pause on free limit exhaustion, set FreeLimitExhaustionBehavior to BillOverUsage at provisioning time (ARM template, Bicep, CLI, PowerShell). • You can verify your setting with:
az sql db show --resource-group MyResourceGroup --server MyServer --name MyDatabase
and look for "freeLimitExhaustionBehavior": "BillOverUsage".
Follow-up questions (if this doesn’t do the trick):
- How did you enable BillOverUsage—via portal, CLI, PowerShell or ARM/Bicep?
- Have you tried the manual Resume step? Any errors?
- What does
az sql db showreport forstatusandfreeLimitExhaustionBehavior? - Are you seeing any Resource Health alerts or maintenance windows flagged?
Hope this helps you wake your database up! Let me know if you get stuck.
https://learn.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview?view=azuresql&tabs=general-purpose#auto-pause
https://learn.microsoft.com/en-us/cli/azure/sql/db?view=azure-cli-latest#az-sql-db-resume
https://learn.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabase?view=azps-15.5.0
https://learn.microsoft.com/en-us/dotnet/api/azure.provisioning.sql.freelimitexhaustionbehavior?view=azure-dotnet
https://learn.microsoft.com/en-us/dotnet/api/azure.provisioning.sql.sqldatabase.freelimitexhaustionbehavior?view=azure-dotnet