Azure Static Web Apps custom domains stuck in "Deleting" state across multiple Static Web Apps

David Harper 20 Reputation points
2026-08-13T10:56:09.51+00:00

I am seeing the same behavior across 3 separate custom subdomains and 3 separate Azure Static Web Apps. Two custom domains failed validation. A third custom domain had already been validated and was working successfully. After attempting to remove the custom domains, all three became stuck in a permanent "Deleting" state. Azure Portal deletion, Azure PowerShell (Remove-AzStaticWebAppCustomDomain) and Azure REST API deletion all fail to remove the resources.

My environment is:

  • Azure Static Web Apps
  • Region: West Europe
  • DNS hosted in Microsoft 365 DNS
  • All resources are in the same Azure subscription

I have tested this with 3 different subdomains across 3 different Azure Static Web Apps.

  • Subdomain 1: Previously validated and working correctly.
  • Subdomain 2: Validation failed.
  • Subdomain 3: Validation failed.

In all cases the DNS records point to the correct Static Web App hostname and resolve publicly.

After the validation failures, I attempted to remove the custom domains from all three Static Web Apps, including the one that had previously been working successfully (Hoping to link to a different static web app).

The result was:

  • All three custom domains became stuck deleting.
  • The Azure Portal shows them in a Deleting state.
  • The delete operation never completes.

One of these resources has now been stuck in Deleting coming up on 20 hours.

I have already tried:

Azure Portal

  • Adding custom domains
  • Removing custom domains
  • Re-validating domains

Azure CLI / REST API

Attempted deletion via:

az rest --method delete

The request completed without error, but the custom domain resource remains and still reports:

"status": "Deleting"

Azure PowerShell

Attempted deletion via:

Remove-AzStaticWebAppCustomDomain

The operation sits in progress and does not complete.


Looks like a lot of people encountering the same issue.
I can provide subscription ID, resource IDs, correlation IDs, Activity Logs, and API responses privately to a Microsoft engineer if required.

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
Praneeth Maddali 12,670 Reputation points Microsoft External Staff Moderator
2026-08-13T16:57:10.8+00:00

Hi @David Harper

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.

We look forward to hearing back from you.

If the answer is helpful,  Please do click "Accept the answer” and Yes, 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 comments No comments

0 additional answers

Sort by: Oldest

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.