Hello Ayush Kumar,
Welcome to Microsoft Q&A and Thank you for reaching out.
I understand how frustrating it is to see hourly charges continue when you’re unable to delete a resource group. In Azure, deleting a resource group is restricted by permissions and configuration, so here’s how you can resolve this efficiently.
1. Verify your permissions
To delete a resource group, you must have one of the following roles:
Owner
Contributor
Resource Group Contributor
User Access Administrator (to assign roles)
If you don’t have these permissions:
Go to Azure Portal → Subscriptions → Access control (IAM)
Check your assigned role
If you’re missing the required role, contact the subscription Owner or administrator and ask them to either:
- Delete the resource group for you, or
- Grant you Contributor/Owner access so you can delete it yourself
2. Check for resource locks
Even with correct permissions, deletion can fail if a lock exists.
Steps:
Open the resource group in Azure Portal
Go to Settings → Locks
Remove any Delete or Read-only locks
Locks must be removed before deletion is allowed.
3. Identify and stop billable resources
Azure charges are incurred by resources, not by the resource group itself.
While access issues are being resolved:
Ask the subscription Owner to stop or delete running resources inside the group (Azure AI Foundry hubs, OpenAI deployments, compute, storage, etc.)
This will immediately stop further billing even if the resource group still exists
4. Check for dependent resources
Some resources may block deletion if they have dependencies (for example, disks attached to VMs).
- Review all resources inside the group
- Delete dependent resources first if required
5. Delete using CLI or PowerShell
If you have sufficient permissions, you can delete the resource group using:
Azure CLI
az group delete --name <ResourceGroupName>
PowerShell
Remove-AzResourceGroup -Name <ResourceGroupName>
These commands will prompt for confirmation before deletion.
Please refer this
- Troubleshoot issues with deleting a Resource Group
- Lock your resource to protect your infrastructure
- Azure Resource Manager resource group and resource deletion
I Hope this helps. Do let me know if you have any further queries.
If this answers your query, please do click Accept Answer and Yes for was this answer helpful.
Thank you!