Skip to content

Commit edeeacc

Browse files
authored
Merge pull request #209718 from MicrosoftDocs/main
8/30 PM Publish
2 parents 29f40a0 + 0b6894f commit edeeacc

File tree

129 files changed

+3550
-1529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3550
-1529
lines changed
Binary file not shown.
61.8 KB
Loading

articles/active-directory-b2c/tutorial-delete-tenant.md

Lines changed: 49 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: tutorial
11-
ms.date: 09/20/2021
11+
ms.date: 08/30/2022
1212
ms.author: kengaderdus
1313
ms.subservice: B2C
1414
---
1515

1616
# Clean up resources and delete the tenant
1717

18-
When you've finished the Azure AD B2C tutorials, you can delete the tenant you used for testing or training. To delete the tenant, you'll first need to delete all tenant resources. In this article, you'll:
18+
When you've finished the Azure Active Directory B2C (Azure AD B2C) tutorials, you can delete the tenant you used for testing or training. To delete the tenant, you'll first need to delete all tenant resources. In this article, you'll:
1919

2020
> [!div class="checklist"]
2121
> * Use the **Delete tenant** option to identify cleanup tasks
@@ -25,62 +25,83 @@ When you've finished the Azure AD B2C tutorials, you can delete the tenant you u
2525
## Identify cleanup tasks
2626

2727
1. Sign in to the [Azure portal](https://portal.azure.com/) with a global administrator or subscription administrator role. Use the same work or school account or the same Microsoft account that you used to sign up for Azure.
28-
1. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the **Directories + subscriptions** icon in the portal toolbar.
29-
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch**.
30-
1. Select the **Azure Active Directory** service.
31-
1. Under **Manage**, select **Properties**.
28+
1. Make sure you're using the directory that contains your Azure AD B2C tenant:
29+
1. Select the **Directories + subscriptions** icon in the portal toolbar.
30+
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch** button next to it.
31+
1. In the Azure portal, search for and select the **Azure Active Directory** service.
32+
1. In the left menu, under **Manage**, select **Properties**.
3233
1. Under **Access management for Azure resources**, select **Yes**, and then select **Save**.
33-
1. Sign out of the Azure portal and then sign back in to refresh your access. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the **Directories + subscriptions** icon in the portal toolbar.
34-
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch**.
35-
1. Select the **Azure Active Directory** service.
36-
1. On the **Overview** page, select **Delete tenant**. The **Required action** column indicates the resources you'll need to remove before you can delete the tenant.
34+
1. Sign out of the Azure portal and then sign back in to refresh your access.
35+
1. Repeat step two to make sure you're using the directory that contains your Azure AD B2C tenant.
36+
1. In the Azure portal, search for and select the **Azure Active Directory** service
37+
1. On the **Overview** page, select **Manage tenants**.
38+
1. On the **Manage tenants** page, select (by check marking) the tenant you want to delete, and then, at the top of the page, select the **Delete** button. The **Required action** column indicates the resources you need to remove before you can delete the tenant.
3739

3840
![Delete tenant tasks](media/tutorial-delete-tenant/delete-tenant-tasks.png)
3941

4042
## Delete tenant resources
4143

42-
If you have the confirmation page open from the previous section, you can use the links in the **Required action** column to open the Azure portal pages where you can remove these resources. Or, you can remove tenant resources from within the Azure AD B2C service using the following steps.
44+
If you've the confirmation page open from the previous section, you can use the links in the **Required action** column to open the Azure portal pages where you can remove these resources. Or, you can remove tenant resources from within the Azure AD B2C service using the following steps.
4345

4446
1. Sign in to the [Azure portal](https://portal.azure.com/) with a global administrator or subscription administrator role. Use the same work or school account or the same Microsoft account that you used to sign up for Azure.
45-
1. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the **Directories + subscriptions** icon in the portal toolbar.
46-
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch**.
47-
1. Select the **Azure AD B2C** service. Or use the search box to find and select **Azure AD B2C**.
48-
1. Delete all users *except* the admin account you're currently signed in as: Under **Manage**, select **Users**. On the **All users** page, select the checkbox next to each user (except the admin account you're currently signed in as). Select **Delete**, and then select **Yes** when prompted.
47+
1. Make sure you're using the directory that contains your Azure AD B2C tenant:
48+
1. Select the **Directories + subscriptions** icon in the portal toolbar.
49+
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch** button next to it.
50+
1. In the Azure portal, select the **Azure AD B2C** service, or search for and select **Azure AD B2C**.
51+
1. Delete all users *except* the admin account you're currently signed in as:
52+
1. Under **Manage**, select **Users**.
53+
1. On the **All users** page, select the checkbox next to each user (except the admin account you're currently signed in as).
54+
1. At the top of the page, select **Delete user**, and then select **Yes** when prompted.
4955

5056
![Delete users](media/tutorial-delete-tenant/delete-users.png)
5157

52-
1. Delete app registrations and the *b2c-extensions-app*: Under **Manage**, select **App registrations**. Select the **All applications** tab. Select an application, and then select **Delete**. Repeat for all applications, including the **b2c-extensions-app** application.
58+
1. Delete app registrations and the *b2c-extensions-app*:
59+
1. Under **Manage**, select **App registrations**.
60+
1. Select the **All applications** tab.
61+
1. Select an application to open it, and then select **Delete** button. Repeat for all applications, including the **b2c-extensions-app** application.
5362

5463
![Delete application](media/tutorial-delete-tenant/delete-applications.png)
5564

56-
1. Delete any identity providers you configured: Under **Manage**, select **Identity providers**. Select an identity provider you configured, and then select **Remove**.
65+
1. Delete any identity providers you configured:
66+
1. Under **Manage**, select **Identity providers**.
67+
1. Select an identity provider you configured, and then select **Remove**.
5768

5869
![Delete identity provider](media/tutorial-delete-tenant/identity-providers.png)
5970

60-
1. Delete user flows: Under **Policies**, select **User flows**. Next to each user flow, select the ellipses (...) and then select **Delete**.
71+
1. Delete user flows:
72+
1. Under **Policies**, select **User flows**.
73+
1. Next to each user flow, select the ellipses (...) and then select **Delete**.
6174

6275
![Delete user flows](media/tutorial-delete-tenant/user-flow.png)
6376

64-
1. Delete policy keys: Under **Policies**, select **Identity Experience Framework**, and then select **Policy keys**. Next to each policy key, select the ellipses (...) and then select **Delete**.
77+
1. Delete policy keys:
78+
1. Under **Policies**, select **Identity Experience Framework**, and then select **Policy keys**.
79+
1. Next to each policy key, select the ellipses (...) and then select **Delete**.
6580

66-
1. Delete custom policies: Under **Policies**, select **Identity Experience Framework**, select **Custom policies**, and then delete all policies.
81+
1. Delete custom policies:
82+
1. Under **Policies**, select **Identity Experience Framework**, and then select **Custom policies**.
83+
1. Next to each Custom policy, select the ellipses (...) and then select **Delete**.
6784

6885
## Delete the tenant
6986

87+
Once you delete all the tenant resources, you can now delete the tenant itself:
88+
7089
1. Sign in to the [Azure portal](https://portal.azure.com/) with a global administrator or subscription administrator role. Use the same work or school account or the same Microsoft account that you used to sign up for Azure.
71-
1. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the **Directories + subscriptions** icon in the portal toolbar.
72-
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch**.
73-
1. Select the **Azure Active Directory** service.
90+
1. Make sure you're using the directory that contains your Azure AD B2C tenant:
91+
1. Select the **Directories + subscriptions** icon in the portal toolbar.
92+
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch** button next to it.
93+
1. In the Azure portal, search for and select the **Azure Active Directory** service.
7494
1. If you haven't already granted yourself access management permissions, do the following:
7595

76-
* Under **Manage**, select **Properties**.
77-
* Under **Access management for Azure resources**, select **Yes**, and then select **Save**.
78-
* Sign out of the Azure portal and then sign back in to refresh your access, and select the **Azure Active Directory** service.
96+
1. Under **Manage**, select **Properties**.
97+
1. Under **Access management for Azure resources**, select **Yes**, and then select **Save**.
98+
1. Sign out of the Azure portal and then sign back in to refresh your access, and select the **Azure Active Directory** service.
7999

80-
1. On the **Overview** page, select **Delete tenant**.
100+
1. On the **Overview** page, select **Manage tenants**.
81101

82-
![Delete the tenant](media/tutorial-delete-tenant/delete-tenant.png)
102+
:::image type="content" source="media/tutorial-delete-tenant/manage-tenant.png" alt-text="Screenshot of how to manage tenant for deletion.":::
83103

104+
1. On the **Manage tenants** page, select (by check marking) the tenant you want to delete, and then, at the top of the page, select the **Delete** button
84105
1. Follow the on-screen instructions to complete the process.
85106

86107
## Next steps

0 commit comments

Comments
 (0)