author | ms.service | ms.subservice | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|
kengaderdus |
active-directory-b2c |
B2C |
include |
02/25/2025 |
kengaderdus |
To register an application in your Azure AD B2C tenant, you can use our new unified App registrations experience or our legacy Applications (Legacy) experience. Learn more about the new experience.
- Sign in to the Azure portal.
- Make sure you're using the directory that contains your Azure AD B2C tenant:
- Select the Directories + subscriptions icon in the portal toolbar.
- On the Portal settings | Directories + subscriptions page, find your Azure AD B2C directory in the Directory name list, and then select Switch.
- In the Azure portal, search for and select Azure AD B2C
- Select App registrations, and then select New registration.
- Enter a Name for the application. For example, ROPC_Auth_app.
- Leave the other values as they are, and then select Register.
- Record the Application (client) ID for use in a later step.
- Under Manage, select Authentication.
- Select Try out the new experience (if shown).
- Under Advanced settings, and section Enable the following mobile and desktop flows, select Yes to treat the application as a public client. This setting is required for the ROPC flow.
- Select Save.
- In the left menu, select Manifest to open the manifest editor.
- Set the oauth2AllowImplicitFlow attribute to true. If the attribute doesn't exist, add it:
"oauth2AllowImplicitFlow": true,
- Select Save.
- Sign in to the Azure portal.
- Make sure you're using the directory that contains your Azure AD B2C tenant:
- Select the Directories + subscriptions icon in the portal toolbar.
- On the Portal settings | Directories + subscriptions page, find your Azure AD B2C directory in the Directory name list, and then select Switch.
- In the Azure portal, search for and select Azure AD B2C
- Select Applications (Legacy), and then select Add.
- Enter a name for the application. For example, ROPC_Auth_app.
- For Native client, select Yes.
- Leave the other values as they are, and then select Create.
- Record the APPLICATION ID for use in a later step.