Aug 04 2020 09:18 PM
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.
Aug 04 2020 10:55 PM
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
Aug 04 2020 11:12 PM
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.
Aug 04 2020 11:21 PM
That is realy long, is there any return code when trying to delete it with the CLI?
Kind Regards, Peter
Aug 04 2020 11:27 PM
Aug 04 2020 11:48 PM
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"