Share via

Azure DNS Zone cannot be deleted because there exists a public delegation pointing to one or more of its nameservers

Thanos Chanias 40 Reputation points Microsoft Employee
2026-02-11T12:18:15.5633333+00:00

We are trying to remove a resource group from our deprecated service and we have removed all the resources except from an 'App Service Domain' that seems to be partially removed (can be seen in Azure portal UI, but if you open it, it shows the resource not found screen, while also you are able to see the access control panel etc) and a 'DNS Zone' that cannot be removed because there exists a public delegation pointing to one or more of its nameservers.

It seems that those Dns records have been created under the hood of Azure Web Service custom domains, but cannot be removed by removing the app service or directly through the dns zone Recordsets panel.

Is there a way to remove those records and cleanup the resources?

Thank you

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.


Answer accepted by question author
  1. Ravi Varma Mudduluru 9,285 Reputation points Microsoft External Staff Moderator
    2026-02-11T14:10:17.2633333+00:00

    Hello @Thanos Chanias,

    Thanks for reaching out to Microsoft Q&A.

    As observed, the DNS zone m365-smp.com is currently delegated and linked to Azure DNS name servers. This delegation is preventing deletion of the DNS zone.

    As discussed, the DNS Zone has been permanently deleted by the backend team. Could you please verify and confirm?

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

    Please "Accept the Answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-11T12:19:29.3233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To resolve the issue of not being able to delete the DNS Zone due to a public delegation pointing to one or more of its name servers, you will need to first remove the delegation from the parent domain. Here are the steps you can follow:

    1. Identify the Delegation: Use a DNS lookup tool to check if there are any existing delegations pointing to the DNS Zone in question. You can use tools like nslookup or online DNS delegation checkers.
    2. Remove the Delegation: If you have access to the parent domain's DNS settings (where the delegation was created), you will need to remove the NS records that delegate to the Azure DNS Zone. This is typically done through the DNS management interface of the domain registrar or DNS hosting provider.
    3. Wait for Propagation: After removing the delegation, it may take some time for the changes to propagate through the DNS system. You might need to wait at least 10 minutes before attempting to delete the DNS Zone again.
    4. Delete the DNS Zone: Once the delegation is removed and the changes have propagated, you can proceed to delete the DNS Zone from the Azure portal or using PowerShell/Azure CLI commands as mentioned in the Azure documentation.

    If you are unable to access the parent domain's DNS settings or if the delegation is not visible, you may need to contact your domain registrar or Azure support for further assistance.


    References:

    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.