Delete a resource group (the clean-up for every task)

Azure Portal, Hands On5 minutes, plus waitingFreeSteps checked 17 October 2026By Cloud Hands On

In this task you'll delete a resource group and everything in it.

Deleting a resource group deletes every resource inside it in one go. It's the simplest way to stop all charges once you've finished practising, and it's the clean-up step for most tasks in this guide.

Most resources have no recycle bin. Once the deletion finishes, they're gone.

Before you start

You need: Contributor on the resource group. Time: 5 minutes, plus waiting.

Where to look

  1. Resource groups
  2. rg-portal-practice
  3. Delete resource group

Steps

  1. Open Resource groups and select the group you want to remove.
  2. Read the list of resources on Overview, and make sure there's nothing in it you want to keep.
  3. Select Delete resource group in the command bar.In a narrow window it's tucked into the ... menu next to + Create.
  4. Type the resource group's name to confirm.If the group holds virtual machines, the portal may offer to force-delete them, which is faster.
  5. Select Delete, then Delete again in the Delete confirmation box.
  6. Watch Notifications (the bell). Deletion can take a few minutes, and longer for networks and virtual machines.
  7. Refresh Resource groups to check the group has gone.

Commands

# Delete without waiting for it to finish
az group delete --name rg-portal-practice --yes --no-wait

# Check what's left
az group list --output table

Watch out for

Cost
Charges stop as each resource is deleted. Check Cost analysis over the next day or two: nothing new should appear.
Security
Only people with Contributor or Owner can delete a group, and locks block deletion until they're removed.
Common mistakes
Some things live outside your group and stay behind: budgets, role assignments made on the subscription, Entra users and groups, and the NetworkWatcherRG group that Azure can create by itself. Deleted key vaults are kept for a while (soft delete), so their names stay taken until they're purged.

Clean up

This task is the clean-up.

Words to know

Soft delete
A safety net on some services, such as Key Vault, that keeps a deleted item for a while so it can be recovered.

Tick off each step and track your progress in the guide.

Open this task in Azure Portal, Hands On

Keep going