I am unable to delete an orphaned Azure Web App resource (Microsoft.Web/sites) named "app-backend-psvgwefzxlqto" that resides in a deleted resource group named "rg-futchat". This resource is not visible in the Azure portal, and I can only confirm its existence through Azure CLI.
Problem:
- The resource group "rg-futchat" has been deleted.
- However, the resource "app-backend-psvgwefzxlqto" still exists when I run the az resource list command.
- When I try to delete the resource using the az resource delete command, I get the following error message:
(ResourceGroupNotFound) Resource group 'rg-futchat' could not be found. Code: ResourceGroupNotFound Message: Resource group 'rg-futchat' could not be found. Some resources failed to be deleted (run with --verbose
for more information): /subscriptions/<YOUR_SUBSCRIPTION_ID>/resourceGroups/rg-futchat/providers/Microsoft.Web/sites/app-backend-psvgwefzxlqto
What I tried:
Updated Azure CLI to the latest version.
Searched for the resource in the Azure portal, but it was not found.
Environment:
- Azure CLI version:
- OS: Windows11
Question:
How can I delete this orphaned resource "app-backend-psvgwefzxlqto"?
Any help would be greatly appreciated!
What I tried:
Updated Azure CLI to the latest version.
Searched for the resource in the Azure portal, but it was not found.
Environment:
- Azure CLI version: 2.61.0
- OS: Windows11 Pro
Question:
How can I delete this orphaned resource "app-backend-psvgwefzxlqto"?
Any help would be greatly appreciated!