A custom domain on my Static Web App has been stuck in "Deleting" status for several hours

Radu Chiriţă 20 Reputation points
2026-08-12T21:29:19.4933333+00:00
  1. I created a CNAME record at my external DNS provider (cPanel). The record propagated correctly and is still in place. Requests reach Azure and return the standard Azure "404 Web Site not found" page, which confirms DNS resolution is working.
  2. I added the custom domain in the Azure portal using CNAME validation. Validation failed with the message: "An unknown error has occurred while adding your custom domain. Please try again later."
  3. I retried validation several times over several hours with no change.
  4. I deleted the domain entry from the portal. It has remained in "Deleting" status ever since.
  5. I ran the CLI delete: The command showed "InProgress" and then returned: "Operation returned an invalid status 'OK'". The domain was not removed.
  6. Current state, from az staticwebapp hostname list:

What I have already checked:

  • No resource locks on the Static Web App or on the resource group.
  • The DNS CNAME record is present and correct, and has not been modified or removed.
  • The domain has never been bound to any other Azure resource.
Azure Static Web Apps
Azure Static Web Apps

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


Answer accepted by question author
Praneeth Maddali 12,670 Reputation points Microsoft External Staff Moderator
2026-08-13T16:51:47.9466667+00:00

Hi @Radu Chiriţă

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 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.