How to permanently delete/purge app service in Azure?

Dave Mendlen 10 Reputation points
2023-02-20T21:20:07.99+00:00

I deleted my app service 8 days ago but I still can't create the same named App service in my other subscription. How long is the hold on the DNS entry? I thought it was only 7 days.

User's image

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

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2023-02-21T05:56:59.93+00:00

    Dave Mendlen Thanks for reaching here! This is due to new feature App Service recently (14th Nov 2022) 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. No additional changes or configuration are needed by the customer to establish a name reservation.

    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.

    Note that the length of cooldown period is determined by the quota id of the subscription that previously owned the reservation. If your quota ID is enterprise or CSP its around 180 days but for others its around 7 days.

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

    Resolution:

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

    Option 2: Let us know if there is urgent need to release immediately.

    2 people found this answer helpful.

  2. Luke Murray 11,436 Reputation points MVP Volunteer Moderator
    2023-02-20T23:23:36.0833333+00:00

    Hi, Dave.

    I believe it is '30 day' cooldown period for ARM resources and 7 days for the classic Cloud resources.

    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.