Hello @Daniel M
Since you've already tried both:
az staticwebapp hostname delete
and the ARM REST DELETE operation without success, this likely isn't just a Portal issue.
First, check the current backend state:
az staticwebapp hostname show \
--name <app-name> \
--resource-group <resource-group> \
--hostname <domain>
and:
az staticwebapp hostname list \
--name <app-name> \
--resource-group <resource-group>
These are the supported CLI commands for inspecting Static Web App custom-domain resources.
If the domain remains in Deleting or another failed provisioning state after a reasonable period, I would not repeatedly delete/recreate DNS records or the Static Web App itself.
There have been similar recent reports where Static Web App custom-domain deletion became stuck after validation/provisioning failures. In a July 2026 case, Microsoft investigated the issue and subsequently confirmed that mitigation had been applied.
At that point, I recommend opening an Azure Support case or asking a Microsoft moderator to help escalate it to the Azure Static Web Apps team. Provide:
- Static Web App name and region
- Custom domain
- UTC timestamp of the failed deletion
- Activity Log correlation/request ID
- Output/status from az staticwebapp hostname show
Don't post your subscription ID or other sensitive information publicly.
Since both CLI and REST deletion are failing, this may require the Static Web Apps team to clear or repair the stale custom-domain association on the service side.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.