Azure Active Directory B2C: Create an Azure AD B2C tenant
To start using Microsoft Azure Active Directory (Azure AD) B2C, follow the three steps outlined in this article.
Step 1: Sign up for an Azure subscription
If you already have an Azure subscription, skip this step. If not, sign up for an Azure subscription and get access to Azure AD B2C.
Step 2: Create an Azure AD B2C tenant
Use the following steps to create a new Azure AD B2C tenant. Currently B2C features can't be turned on in your existing tenants.
- Sign in to the Azure classic portal as the Subscription Administrator. This is the same work or school account or the same Microsoft account that you used to sign up for Azure.
Click New > App Services > Active Directory > Directory > Custom Create.
- Choose the Name, Domain Name and Country or Region for your tenant.
- Check the option that says This is a B2C directory.
Click the check mark to complete the action.
Your tenant is now created and will appear in the Active Directory extension. You are also made a Global Administrator of the tenant. You can add other Global Administrators as required.
If you are planning to use a B2C tenant for a production app, read the article on production-scale vs. preview B2C tenants. Note that there are known issues when you delete an existing B2C tenant and re-create it with the same domain name. You have to create a B2C tenant with a different domain name.
Step 3: Navigate to the B2C features blade on the Azure portal
- Navigate to the Active Directory extension on the navigation bar on the left side.
- Find your tenant under the Directory tab and click it.
- Click the Configure tab.
Click the Manage B2C settings link in the B2C administration section.
The Azure portal with the B2C features blade showing will open in a new browser tab or window.
It can take up to 2-3 minutes for your tenant to be accessible on the Azure portal. Retrying these steps after some time will fix this. If not, please contact Support.
Pin this blade to your Startboard for easy access. (The Pin tool is marked in red at the upper-right corner of the features blade.)
You can manage users and groups, self-service password reset configuration, and company branding features of your tenant on the Azure classic portal.
Step 4: Link your Azure AD B2C tenant to your Azure subscription
If you are planning to use your B2C tenant for production apps, you will need to link your Azure AD B2C tenant to your Azure subscription to pay for usage charges. Read this article to learn how to do this.
If you don't link your Azure AD B2C tenant to your Azure subscription, you will see a warning message ("No Subscription linked to this B2C tenant or the Subscription needs your attention.") on the B2C features blade on the Azure portal. It is important that you take this step before you ship your apps into production.
Easy access to the B2C features blade on the Azure portal
To improve discoverability, we've added a shortcut to the B2C features blade on the Azure portal.
- Sign into the Azure portal as the Global Administrator of your B2C tenant. If you are already signed into a different tenant, switch tenants (on the top-right corner).
- Click Browse on the left hand navigation.
Click Azure AD B2C to access the B2C features blade.
Learn how to register an application with Azure AD B2C and to build a Quick Start application by reading Azure Active Directory B2C: Register your application.