Reusing Name For A Web App That Was Previously Deleted

Davi, Michael 0 Reputation points
2025-08-28T19:25:32.15+00:00

I am attempting to create a Web App using a name that was previously used by a Web App and deleted months ago. I am unable to reuse that name. Azure states it's not available. Is there a way to be able to use that name again, or to track down why Azure thinks it's still in use. The name contains pieces that are specific to our company, so I doubt if it's being used by another organization.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jose Benjamin Solis Nolasco 5,406 Reputation points
    2025-08-28T19:36:08.9366667+00:00

    Hello, I hope you are doing well,

    Globally unique namespace The DNS name yourapp.azurewebsites.net must be globally unique across all Azure tenants, not just within your subscription.

    Soft deletion doesn’t release the name immediately When you delete an App Service, Azure doesn’t free the hostname right away. It can be held for a retention period (to support recovery) or if it’s associated with other resources like slots, Traffic Manager, Front Door, or App Service Domains.

    Hidden references Sometimes the app name is “stuck” because:

    It still exists in the App Service recycle bin (soft-deleted state).

      The name is reserved in App Service Certificates or App Service Domains.
      
         Azure hasn’t garbage-collected the DNS mapping yet.
         
    
    1. Check soft-deleted resources
      • Run:
             az webapp deleted list --resource-group <rg-name>
        
        or check in the portal → App Services → Deleted Apps.
      • If you see the app, you can either restore it or permanently purge it. it.

    😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!

    0 comments No comments

Your answer

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