Unable to delete web app in Azure

Copper Contributor

Hello. I've registred a free Azure account and created a new web app on it. After some time, when I tried to open it on Azure portal, it has given me a 404 error. But I am still able to see it in web app list and unable to delete application plan, because it says, that it has 1 application in it. Things I tried:

1. Deleting app with Azure portal.

2. Deleting app with Azure CLI.

3. Deleting application plan.

4. Deleting resource group.

5. Moving application plan to another group and deleting original group.

 

I was able to delete recource group, containing web app, and it seem it has deleted correctly, but I am still seeing my web app and unable to delete application plan.

5 Replies

Hi @MiroslavBogatyrev,

 

How long ago you deleted the Resources?

Maybe it, like some things, takes some time until it is shown correctly in the Azure Portal. Had the same Problem several times in the past. Maybe wait some more time and if the Problem still exists, open a Support Ticket with the Azure Support.

 

Kind Regards, Peter

Hi,@Peter_Beckendorf . Thank you for answering.

 

I've deleted this app in Monday and it's still shows as running in web app list.

Hi @MiroslavBogatyrev,

 

That is realy long, is there any return code when trying to delete it with the CLI?

 

Kind Regards, Peter

No, there CLI writes nothing, when I try to delete web app. But when I try to delete the application plan, then I receive conflict error.

Thank you for answering.

@MiroslavBogatyrev 

 

So you tried this command in CLI and no Output was given back?

 

az webapp delete --name "MyWebapp" --resource-group "MyResourceGroup"

 

There should be at least some response in case of a failure.

When deleting the App Plan befor deleting the Web App, sure, there will be a error.

 

What comes back when you do this:

 

az webapp list --subscription "subscriptionID/name"