<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74" -->

---
title: Aspire Azure SQL deployment bug | daily.dev
description: A developer encountered a deployment bug where updating .NET Aspire applications caused Azure SQL database deployments to fail with a 'ProvisioningDisabled:...
canonical: https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Aspire Azure SQL deployment bug | daily.dev
og:description: A developer encountered a deployment bug where updating .NET Aspire applications caused Azure SQL database deployments to fail with a 'ProvisioningDisabled:...
og:url: https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74
og:image: https://api.daily.dev/og/posts/eufzGis74.png
og:image:alt: Aspire Azure SQL deployment bug
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Aspire Azure SQL deployment bug

**[Damien Bowden](https://daily.dev/sources/damienbod)** · 2 min read · 0 upvotes · 0 comments

## Summary

A developer encountered a deployment bug where updating .NET Aspire applications caused Azure SQL database deployments to fail with a 'ProvisioningDisabled: Cannot update paid database to free database' error. The root cause traces to recent Azure changes combined with Aspire updates. The workaround involves using ConfigureInfrastructure to explicitly set the SQL SKU to Basic tier and disabling UseFreeLimit, rather than relying on the previous defaults that implicitly used a free database tier.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://damienbod.com/2026/05/18/aspire-azure-sql-deployment-bug>

## Questions this post answers

### Why does my Aspire Azure SQL deployment fail with 'ProvisioningDisabled: Cannot update paid database to free database'?

This happens after updating .NET Aspire when the default AddAzureSqlServer and AddDatabase configuration tries to deploy using a free database tier that conflicts with an existing paid database or the Azure location's free-tier eligibility. It is caused by a combination of recent Azure changes and Aspire updates. Fix it by using ConfigureInfrastructure to set the SqlSku to Basic tier and explicitly set UseFreeLimit to false.

_daily.dev surfaces fixes like this one for developers chasing down fresh Aspire and Azure deployment regressions._

### How do I disable the free limit on an Azure SQL database provisioned through .NET Aspire?

Call ConfigureInfrastructure on the AddAzureSqlServer builder, retrieve the SqlDatabase provisionable resource, set its Sku to a SqlSku with Tier and Name set to Basic and Capacity 5, then set dbRes.UseFreeLimit to false before calling AddDatabase. This switches the database from the free limit model to a DTU-based Basic tier, avoiding the provisioning error.

_Developers configuring Aspire infrastructure code can track these kinds of API patterns on daily.dev._

## Similar posts on daily.dev

- [Your last SQL Server end-of-support deadline](https://daily.dev/posts/your-last-sql-server-end-of-support-deadline-fnvlstu7h) · TechCentral · 0 upvotes · 0 comments
- [Running a production-like local environment with Aspire](https://daily.dev/posts/running-a-production-like-local-environment-with-aspire-7qzdip0aa) · Tim Deschryver · 0 upvotes · 0 comments
- [Microsoft Releases Aspire 13.3 with Major Deployment and Frontend Updates](https://daily.dev/posts/microsoft-releases-aspire-13-3-with-major-deployment-and-frontend-updates-r5riwdgk3) · InfoQ · 9 upvotes · 1 comments
- [.NET Aspire 6: Deployment Using Azure Container Apps](https://daily.dev/posts/net-aspire-6-deployment-using-azure-container-apps-ajnipjxrw) · Telerik · 0 upvotes · 0 comments

---

Tags: [#azure](https://daily.dev/tags/azure), [#cicd](https://daily.dev/tags/cicd), [#c#](https://daily.dev/tags/c#)

[View this post on daily.dev](https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Aspire Azure SQL deployment bug","url":"https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74"},"datePublished":"2026-10-04T13:04:05.863Z","dateModified":"2026-10-04T13:04:25.778Z","description":"A developer encountered a deployment bug where updating .NET Aspire applications caused Azure SQL database deployments to fail with a 'ProvisioningDisabled:...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Damien Bowden","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Damien Bowden","logo":"https://media.daily.dev/image/upload/s--MpH73n5h--/f_auto,q_auto/v1791119042/logos/damienbod?_a=BAMAMicg0","url":"https://daily.dev/sources/damienbod"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"azure,cicd,c#","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Damien Bowden","item":"https://daily.dev/sources/damienbod"},{"@type":"ListItem","position":3,"name":"Aspire Azure SQL deployment bug"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/aspire-azure-sql-deployment-bug-eufzgis74#faq","mainEntity":[{"@type":"Question","name":"Why does my Aspire Azure SQL deployment fail with 'ProvisioningDisabled: Cannot update paid database to free database'?","acceptedAnswer":{"@type":"Answer","text":"This happens after updating .NET Aspire when the default AddAzureSqlServer and AddDatabase configuration tries to deploy using a free database tier that conflicts with an existing paid database or the Azure location's free-tier eligibility. It is caused by a combination of recent Azure changes and Aspire updates. Fix it by using ConfigureInfrastructure to set the SqlSku to Basic tier and explicitly set UseFreeLimit to false. daily.dev surfaces fixes like this one for developers chasing down fresh Aspire and Azure deployment regressions."}},{"@type":"Question","name":"How do I disable the free limit on an Azure SQL database provisioned through .NET Aspire?","acceptedAnswer":{"@type":"Answer","text":"Call ConfigureInfrastructure on the AddAzureSqlServer builder, retrieve the SqlDatabase provisionable resource, set its Sku to a SqlSku with Tier and Name set to Basic and Capacity 5, then set dbRes.UseFreeLimit to false before calling AddDatabase. This switches the database from the free limit model to a DTU-based Basic tier, avoiding the provisioning error. Developers configuring Aspire infrastructure code can track these kinds of API patterns on daily.dev."}}]}
```

