An Azure service that provides hosted, universal storage for Azure app configurations.
Yes. It is valid to use more than one app registration for the same physical API when each registration is intended for a different identity audience or sign-in model.
For the two registrations in this scenario:
- Clerk Policy API app registration
- Use the workforce tenant.
- Set Supported account types to Accounts in this organizational directory only if the Clerk Portal is for internal users in one organization.
- That is the standard single-tenant choice.
- Customer Policy API app registration
- Register it in the Azure AD B2C tenant.
- For apps that use Azure AD B2C user flows, the required account type is Accounts in any identity provider or organizational directory (for authenticating users with user flows).
- This is the option required to run Azure AD B2C user flows for that application.
For production architecture, this is a reasonable design when the same API must accept tokens from two different identity systems:
- one registration in the workforce tenant for Entra ID users
- one registration in the B2C tenant for customer users
That keeps the audiences and account types aligned to each portal’s authentication model.
For the Clerk API registration, single tenant is appropriate if only users and guests from that tenant should access it. If the Clerk Portal must support users from other organizations, use Accounts in any Microsoft Entra directory instead.
One important caution: changing supported account types later to converge registrations can force a new consent prompt and can change identity claim structure. That approach isn’t recommended unless fully understood.
References:
- The new App registrations experience for Azure Active Directory B2C
- Configure your App Service or Azure Functions app to use Microsoft Entra sign-in
- Identity and account types for single- and multitenant apps
- Tenancy in Microsoft Entra ID
- Manage the API and runtime versions of App Service authentication