| title | Tutorial - Clean up resources | Azure | ||
|---|---|---|---|
| description | In this tutorial, you learn how to clean up the Azure resources allocated while creating the web app. | ||
| author | cephalin | ||
| ms.author | cephalin | ||
| ms.service | azure-app-service | ||
| ms.topic | include | ||
| ms.date | 09/15/2023 | ||
| ms.custom |
|
If you completed all the steps in this multipart tutorial, you created an App Service, App Service hosting plan, and a storage account in a resource group. You also created an app registration in Microsoft Entra ID. If you chose external configuration, you may have created a new external tenant. When no longer needed, delete these resources and app registration so that you don't continue to accrue charges.
In this tutorial, you learn how to:
[!div class="checklist"]
- Delete the Azure resources created while following the tutorial.
In the Azure portal, select Resource groups from the portal menu and select the resource group that contains your App Service and App Service plan.
Select Delete resource group to delete the resource group and all the resources.
:::image type="content" alt-text="Screenshot that shows deleting the resource group." source="../media/scenario-secure-app-clean-up-resources/delete-resource-group.png":::
This command might take several minutes to run.
In the Microsoft Entra admin center, select Applications > App registrations. Then select the application you created. :::image type="content" alt-text="Screenshot that shows selecting app registration." source="../media/scenario-secure-app-clean-up-resources/select-app-registration.png":::
In the app registration overview, select Delete. :::image type="content" alt-text="Screenshot that shows deleting the app registration." source="../media/scenario-secure-app-clean-up-resources/delete-app-registration.png":::
If you created a new external tenant, you can delete it. In to the Microsoft Entra admin center, browse to Identity > Overview > Manage tenants.
Select the tenant you want to delete, and then select Delete.
You might need to complete required actions before you can delete the tenant. For example, you might need to delete all user flows and app registrations in the tenant.
If you're ready to delete the tenant, select Delete.