Deleting Resources After a Failed Deployment in Azure Portal
March 6, 2026 ยท View on GitHub
If your deployment fails and you need to clean up the resources manually, follow these steps in the Azure Portal.
1. Navigate to the Azure Portal
- Open Azure Portal.
- Sign in with your Azure account.
2. Find the Resource Group
- In the search bar at the top, type "Resource groups" and select it.
- Locate the resource group associated with the failed deployment.


3. Delete the Resource Group
- Click on the resource group name to open it.
- Click the Delete resource group button at the top.

- Type the resource group name in the confirmation box and click Delete.
๐ Note: Deleting a resource group will remove all resources inside it.
4. Delete Individual Resources (If Needed)
If you donโt want to delete the entire resource group, follow these steps:
- Open Azure Portal and go to the Resource groups section.
- Click on the specific resource group.
- Select the resource you want to delete (e.g., App Service, Storage Account).
- Click Delete at the top.

5. Verify Deletion
- After a few minutes, refresh the Resource groups page.
- Ensure the deleted resource or group no longer appears.
๐ Tip: If a resource fails to delete, check if it's locked under the Locks section and remove the lock.