How do I re-create a Web App Service with the same name of a deleted Web App Service on a different subscription than the original subscription?

Khozema Lodhi 30 Reputation points
  1. Previously, I established a Web App Service under the name X within subscription A and deployed it through DevOps pipelines and Bicep templates. Following successful testing of the automatic deployment of a web application, I sought to proceed with the deployment of the same application, retaining the name X, but this time within a different subscription B (client's subscription in which it was supposed to be deployed actually). I am well aware that the URL must be globally unique, hence I removed the web app from subscription A first.
  2. Subsequently, I proceed with the same deployment methodology in subscription B, utilizing the name X for my web application. Regrettably, this approach did not yield the expected results, as I consistently encountered the following error code:

"The website with the name X already exists."

I looked up on Microsoft threads online and found that there is a Name Reservation policy under which the app service name retains in a specific cooling period for that subscription.

References to the threads:

I would like Microsoft to waive off this cooling period for these specific App Service Names and release them, So that I can deploy them in Client's Subscription.

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

Accepted answer
  1. SnehaAgrawal-MSFT 15,036 Reputation points Microsoft Employee

    @Khozema Lodhi Further to add:

    As its suggested in previous thread that- For Web app this is due to new feature App Service recently rolled out a Name Reservation feature to protect customers from the threat of subdomain takeovers.

    This new built-in feature creates a name reservation for web application names.

    The name reservation for a given resource name will exist from the moment the resource is created and for a lengthy time period after the resource has been deleted (a cooldown period).

    This means that during the cooldown period after resource deletion, other subscriptions outside of the original creating Azure AD tenant will not be able to create a web application using the same name.

    However, once the cooldown period has ended, the name reservation will be released, and any subscription will then be able to create a web application with that given name.

    See: Name Reservation on App Service for Web Apps and App Service Environment (ASE)


    Option 1: If possible you can wait for the cooling-off period to expire. (unless it was previously used by an internal subscription)

    Option 2: Please reach out to us by sending an email with subject line “Attn:Sneha |thread title” to AzCommunity[at]microsoft[dot]com referencing this thread for help on this.

    Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. TP 45,256 Reputation points


    Please create a new support request in the subscription that the name was first used. A support engineer can clear the name reservation so that the name can be deployed into a different subscription before cooldown period expires.

    Create an Azure support request

    Please click Accept Answer if the above was useful.