I have an Azure Static Web App (Free tier) with a custom domain stuck in a broken state that I cannot clear through any self-service method.
Resources:
- Static Web App:
yoga-website-static, resource group rg-yoga-website-app-compute, region East US 2
- Custom domain:
www.altroveyoga.com (CNAME validation)
- Subscription: "yoga-project" (happy to share the subscription ID by private message)
What happened:
- Added the custom domain via
az staticwebapp hostname set. DNS validation succeeded immediately, but the "Create" operation itself failed ~10 minutes later with a generic error: "An unknown error has occurred while adding your custom domain. Please try again later."
- Since then, every attempt to delete the failed custom domain entry — so I could retry adding it — has itself failed, across every method available:
-
az staticwebapp hostname delete (CLI) — failed
- Direct ARM
az resource delete on the customDomains sub-resource — failed
- Azure Portal UI (Static Web App → Custom domains → Delete) — failed twice, with the Portal showing "Impossibile eliminare il dominio personalizzato www.altroveyoga.com. Errore: Failed"
- Removed the CNAME record at the DNS provider entirely, waited ~45 minutes for propagation, retried the delete — still failed the same way
- Checked for resource locks on both the resource group and the Static Web App itself — none exist.
- The custom domain resource has now sat in
"status": "Deleting" continuously since the first failed create, over 2.5 hours ago.
Activity Log timeline (all events on the .../staticSites/yoga-website-static/customDomains/www.altroveyoga.com sub-resource):
| Time (UTC) |
Operation |
Result |
| 06:34:06 |
Validate Custom Domain |
Succeeded |
| -------- |
-------- |
-------- |
| 06:34:06 |
Validate Custom Domain |
Succeeded |
| 06:34:08 → 06:44:11 |
Create Custom Domain |
Failed |
| 06:44:52 → 06:54:53 |
Delete Custom Domain |
Failed |
| 07:06:23 → 07:16:27 |
Delete Custom Domain (direct ARM) |
Failed |
| 07:27:34 → 07:37:35 |
Delete Custom Domain (Portal) |
Failed |
| 07:57:02 → 08:07:11 |
Delete Custom Domain (Portal) |
Failed |
| 08:33:08 |
Create Custom Domain |
Succeeded |
| 08:33:14 |
Create Custom Domain |
Succeeded (again?) |
| 08:33:20 → 08:43:24 |
Delete Custom Domain |
Failed |
| 08:46:02 → 08:56:06 |
Delete Custom Domain |
Failed |
| 09:05:56 → (pending/failed) |
Delete Custom Domain (CLI) |
Failed |
Every "Delete" fails roughly 10 minutes after being accepted, with no more specific error surfaced than "Failed."
What I need: I don't need to preserve anything about this custom domain entry — I'd just like the stuck resource fully released so I can add www.altroveyoga.com to this Static Web App again from a clean state. Based on a similar thread I found (Static Web App custom domain stuck in "Deleting" — cannot remove), this looks like a backend synchronization issue that needed direct engineering intervention rather than anything fixable from my side. Any help clearing this would be much appreciated.I have an Azure Static Web App (Free tier) with a custom domain stuck in a broken state that I cannot clear through any self-service method.
Resources:
- Static Web App:
yoga-website-static, resource group rg-yoga-website-app-compute, region East US 2
- Custom domain:
www.altroveyoga.com (CNAME validation)
- Subscription: "yoga-project" (happy to share the subscription ID by private message)
What happened:
- Added the custom domain via
az staticwebapp hostname set. DNS validation succeeded immediately, but the "Create" operation itself failed ~10 minutes later with a generic error: "An unknown error has occurred while adding your custom domain. Please try again later."
- Since then, every attempt to delete the failed custom domain entry — so I could retry adding it — has itself failed, across every method available:
-
az staticwebapp hostname delete (CLI) — failed
- Direct ARM
az resource delete on the customDomains sub-resource — failed
- Azure Portal UI (Static Web App → Custom domains → Delete) — failed twice, with the Portal showing "Impossibile eliminare il dominio personalizzato www.altroveyoga.com. Errore: Failed"
- Removed the CNAME record at the DNS provider entirely, waited ~45 minutes for propagation, retried the delete — still failed the same way
- Checked for resource locks on both the resource group and the Static Web App itself — none exist.
- The custom domain resource has now sat in
"status": "Deleting" continuously since the first failed create, over 2.5 hours ago.
Activity Log timeline (all events on the .../staticSites/yoga-website-static/customDomains/www.altroveyoga.com sub-resource):
| Time (UTC) |
Operation |
Result |
| 06:34:06 |
Validate Custom Domain |
Succeeded |
| 06:34:08 → 06:44:11 |
Create Custom Domain |
Failed |
| 06:44:52 → 06:54:53 |
Delete Custom Domain |
Failed |
| 07:06:23 → 07:16:27 |
Delete Custom Domain (direct ARM) |
Failed |
| 07:27:34 → 07:37:35 |
Delete Custom Domain (Portal) |
Failed |
| 07:57:02 → 08:07:11 |
Delete Custom Domain (Portal) |
Failed |
| 08:33:08 |
Create Custom Domain |
Succeeded |
| 08:33:14 |
Create Custom Domain |
Succeeded (again?) |
| 08:33:20 → 08:43:24 |
Delete Custom Domain |
Failed |
| 08:46:02 → 08:56:06 |
Delete Custom Domain |
Failed |
| 09:05:56 → (pending/failed) |
Delete Custom Domain (CLI) |
Failed |
Every "Delete" fails roughly 10 minutes after being accepted, with no more specific error surfaced than "Failed."
What I need: I don't need to preserve anything about this custom domain entry — I'd just like the stuck resource fully released so I can add www.altroveyoga.com to this Static Web App again from a clean state. Based on a similar thread I found (Static Web App custom domain stuck in "Deleting" — cannot remove), this looks like a backend synchronization issue that needed direct engineering intervention rather than anything fixable from my side. Any help clearing this would be much appreciated.