Creating an Azure Active Directory B2C TenantNovember 08, 2022 2:22 Comments 
In order to use Azure Active Directory B2C (AD B2C) features, you must first connect an Azure AD B2C tenant with an Azure subscription.
There are several reasons why you may want to do this.
- You may want to create distinct directories for each environment, so that Dev, QA, and Production users and policies do not overlap
- You may want to create a directory in your subscription for your customer to develop security features of an application
- You may want a sandbox in which to learn the features of AD B2C.
Whatever the reason, here is how you proceed.
Navigate to the Azure Portal, click the [Create a resource] button (Fig. 1), and search for "Active Directory B2C". The "Active Directory B2C" page displays, as shown in Fig. 2.
Click the [Create] button to display the "Create new B2C Tenant or Link to existing Tenant" options, as shown in Fig. 3.
Click "Create a New Azure B2C Tenant" to display the "Create a tenant" blade, as shown in Fig. 4.
NOTE: When you create a new Azure B2C Tenat, it is automatically linked to the current subscription. This is a recent change, so the only time you might consider clicking the other option is if you created a B2C tenant some months ago and never linked it to your subscription.
Click the [Review + create] button to display the "Review + create" tab, as shown in Fig. 5.
Click the [Create] button to create the Azure AD B2C Tenant.
NOTE: You may receive the following error message:
"The subscription is not registered to use namespace 'Microsoft.AzureActiveDirectory'. See https://aka.ms/rps-not-found for how to register subscriptions."
If so, follow the steps in this post.
If the Teant creation is successful, a confirmation message will display. Click this message to navigate to the Azure AD B2C page for this tenant.
In this article, you learned how to create a new Azure Active Directory B2C tenant.