Static Web App custom domain stuck in "Deleting" status — all delete attempts fail (CLI, ARM, Portal)

Riccardo 45 Reputation points
2026-08-13T09:13:43.0433333+00:00

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:

  1. 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."
  2. 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
          1. Checked for resource locks on both the resource group and the Static Web App itself — none exist.
          2. 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:

  1. 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."
  2. 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
          1. Checked for resource locks on both the resource group and the Static Web App itself — none exist.
          2. 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.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

0 comments No comments

Answer accepted by question author
TP 163.1K Reputation points Volunteer Moderator
2026-08-13T17:01:59.9866667+00:00

Hi Riccardo,

Can you retry deleting your custom domain now? I just retried mine and it successfully deleted after about 2-3 minutes. Previously it had been stuck for many hours.

Also, I tested and was able to add custom domain this time. It took a little longer than normal to finish, but it worked.

Below is latest update from the Service issue DZXC-65Z:

Service: Static Web Apps

Region: Global

Event tags: --

Impact Statement: Starting at 14:30 UTC on 11 August 2026, you have been identified as an affected customer using Azure Static Web Apps in multiple regions who may experience failures or delays when deleting custom domains for resources hosted in the region. At this time, the impact is limited to a subset of customers.

Current Status: Our teams have completed mitigation actions and are currently monitoring recovery progress. The issue was attributed to a backlog in the job queue responsible for custom domain deletion operations, which caused deployment requests to time out. Mitigation efforts included reducing the batch size of operations and stopping specific operations to accelerate queue recovery. Current telemetry indicates that the queue backlog is decreasing rapidly and is expected to reach a healthy state shortly.

Initial assessments indicate that custom domain creation and update workflows remain healthy, with the impact limited to delayed or failed custom domain deletion requests while the backlog was present.

We are validating recovery by monitoring system performance and confirming successful retries from affected customers.

The next update will be provided in 02 hours, or as events warrant.

Thanks.

-TP

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author
Venkatesan S 10,830 Reputation points Microsoft External Staff Moderator
2026-08-13T17:00:16.69+00:00

Hi @Riccardo ,

Thank you for your patience while we looked into this.

We have received confirmation that mitigation has been applied, and your custom domain issue should now be resolved.

Could you please retry the operation and verify whether everything is working as expected?

If you are still experiencing any issues, please reply with an update and any relevant details. We will be happy to continue assisting you and investigate further if needed.

Kindly let us know if the above helps or you need further assistance on this issue.

Please do not forget to 210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

If you have any other questions, let me know in the "comments" and I would be happy to help you

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.