Hello David,
It can be quite challenging when you have the correct permissions but are still unable to delete a resource group in Azure. The following are some common reasons for this issue and solutions to address them:
· Resource Dependencies: Certain resources, such as subnets or web applications, depend on other resources, which can hinder the deletion process.
· Resource Locks: There may be locks placed on the resource group or its items that prevent deletion.
· Subscription Issues: If your subscription is suspended or disabled, the deletion of resources will not be possible.
· Order of Deletion: Resources must be deleted in a specific sequence; failing to do so can obstruct the deletion of the group.
To resolve these issues, consider the following actions:
· Remove any locks on the resources.
· Address dependencies by deleting or reconfiguring the necessary resources.
· Verify your subscription status and reactivate it if required.
References:
Delete resource group and resources - Azure Resource Manager | Microsoft Learn