An Azure service that provides streamlined full-stack web app development.
hi Nikola Cvitanovic & thx for sharing urs issue here at Q&A portal,
the SWA edge state got stuck in the Static Web Apps control plane.
Since enable works but disable always lands back in Disabling, and ARM PATCH gets coerced back, this prob isn’t a client/CLI issue. The backend still thinks the enterprise edge teardown is pending or failed, but there’s no visible operation left for u to complete.
I wouldn’t try to force enterpriseGradeCdnStatus with raw ARM anymore. That property is service-owned state, so ARM will just normalize it back or reject invalid enum values. Annoying, but expected.
Best things to check before support: remove/verify custom domain edge config, confirm no Front Door/custom domain association is still pending, then retry disable once. If it still stays Disabling after hrs, it needs backend cleanup.
Assume the useful docs will be next list
https://learn.microsoft.com/en-us/azure/static-web-apps/enterprise-grade-edge
https://learn.microsoft.com/en-us/azure/static-web-apps/plans
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain
For the downgrade block, MS needs to clear the orphaned edge state or finish the teardown from the backend. Open a Static Web Apps support case w/ resource ID, region, UTC disable time, current enterpriseGradeCdnStatus, the failed downgrade error, and Activity Log showing no running write op.
If u don’t have a paid plan, try a billing/subscription support path and explain this is blocking SKU downgrade/cost reduction due to a stuck platform state. Community can’t really reset that enum. It’s one of those ‘portal button says disable, backend says nah’ situations.
rgds,
Alex
&
If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal
and at my blog https://ctrlaltdel.blog/