Share via

How do I delete a custom domain that was associated with a deleted web app?

Jeff Jackson 0 Reputation points
2026-02-07T05:30:10.61+00:00

I had a web app with a custom domain configured and I had to delete and recreate it in another region. I overlooked removing the custom domain that was associated with the web app and now I want to assign it to the new web app and it says it still exists. I can't find any way to delete that custom domain so I can readd it.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Answer recommended by moderator
  1. Jeff Jackson 0 Reputation points
    2026-02-09T18:34:46.0033333+00:00

    I was able to find a resolution to my issue. It's a bit of a workaround but gave me the end result that I was looking for. First I recreated the delete resource in the original region, making sure to use the same name as previous. When I did that, the custom domain automatically showed as attached. From there I was able to delete the binding, domain, and installed certificate, which then opened up my ability to add the custom domain to the new region's Web App.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 6,880 Reputation points Microsoft External Staff Moderator
    2026-02-11T04:29:27.6+00:00

    Hi @Jeff Jackson
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Issue: How do I delete a custom domain that was associated with a deleted web app?**
    Solution:**I was able to find a resolution to my issue. It's a bit of a workaround but gave me the end result that I was looking for. First I recreated the delete resource in the original region, making sure to use the same name as previous. When I did that, the custom domain automatically showed as attached. From there I was able to delete the binding, domain, and installed certificate, which then opened up my ability to add the custom domain to the new region's Web App.
    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

  2. Q&A Assist
    2026-02-07T05:30:19.5133333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To delete a custom domain that was associated with a deleted web app in Azure, you need to ensure that the domain is not still linked to any resources. If the domain is reported as still existing, it may be lingering due to the previous app's configuration not being fully removed. Here are the steps you can take:

    1. Check for Existing Associations: Verify if the custom domain is still associated with any other apps in your Azure subscriptions. If you find it linked to another app, you need to remove it from there first.
    2. Open an Azure Support Ticket: If you cannot find the domain associated with any app (for example, if it was linked to a deleted app), you will need to open an Azure support ticket. In your request, provide proof of domain ownership, such as a screenshot of your domain registrar settings. This will allow Microsoft Support to manually release the domain for you.

    Once the domain is released, you should be able to add it to your new web app without issues.

    0 comments No comments

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.