If your deployment fails and you need to clean up the resources manually, follow these steps in the Azure Portal.
- Open Azure Portal.
- Sign in with your Azure account.
- In the search bar at the top, type "Resource groups" and select it.
- Locate the resource group associated with the failed deployment.
- 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.
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.
- 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.