Removed ResourceGroup and App Serive still running in App service plan

Pardo Martinez, Juan Manuel 11 Reputation points
2021-01-13T07:30:39.74+00:00

We had a RG within an app service. After remove them we are not able to reuse the app service name.

We have tried to remove it from command line (az and AzureRM attempts) but we got the result "Resource group does not exists"

If we check the app service plan we still see the deleted app service running there but it is not accesible anyway

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

2 answers

Sort by: Most helpful
  1. Pardo Martinez, Juan Manuel 11 Reputation points
    2021-01-13T13:53:52.55+00:00

    Thanks for the support.

    We have already tried delete it by command line (az and AzureRM attempts) but we got the result "Resource group does not exists"

    In https://resources.azure.com we can not see the deleted app service.

    1 person found this answer helpful.

  2. SnehaAgrawal-MSFT 21,766 Reputation points
    2021-01-13T13:08:44.437+00:00

    Thanks for asking question! Just to confirm if app has been configured with multiple slots, As the slots needs to be deleted before deleting the web app.
    Also, please double check if there is any 'Locks' added to App Service Plan and Resource group.

    You can try deleting the apps using below cmd:

    Remove-AzureRmWebApp -Name <App Name>

    Another alternative is to use https://resources.azure.com that lets you do something similar through REST API.

    Also ensure that if you're running the command in the subscription that contains the resource group and web app when deleting the app. Hitting F5 might be helpful.

    Hope that helps. Please let us know in case issue persist.

    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.