Azure Active Directory B2C, commonly called Azure AD B2C, handles customer registration, authentication, password recovery, and profile management for applications. Applications delegate authentication to the service instead of collecting and validating customer passwords themselves. Customers can use local accounts or supported external identity providers, while applications receive tokens containing the configured identity claims.
The service uses a dedicated Azure AD B2C tenant that is separate from an organization’s workforce Microsoft Entra ID tenant. Register customer applications and APIs in the B2C tenant, but deploy application infrastructure such as Azure App Service, Azure Functions, and databases in subscriptions associated with a workforce tenant. Customer accounts do not receive Azure resource access merely because they exist in the B2C directory. B2C is also not a replacement for Microsoft Entra ID authentication to Microsoft 365.
Built-in user flows cover common journeys such as combined sign-up and sign-in, password reset, and profile editing. Configure identity providers, collected attributes, emitted claims, branding, and supported multifactor authentication settings for each journey. When built-in flows cannot express the required behavior, Identity Experience Framework custom policies provide XML-based orchestration, claims transformations, and REST API calls. These policies require careful testing and version control because an invalid policy or unavailable external dependency can interrupt authentication.
For web, mobile, and single-page applications, use a supported authentication library and OpenID Connect or OAuth 2.0. Prefer authorization code flow with PKCE for public clients, register exact redirect URIs, and use the policy-specific discovery metadata. Customer authentication normally uses the tenant’s b2clogin.com endpoint or a configured custom domain. APIs must validate access-token signatures, issuer, audience, expiration, and required scopes; an ID token is not an API authorization credential. Keep business permissions and resource ownership checks in the application or a dedicated authorization layer.
Operationally, separate development and production configurations, protect policy keys and application credentials, and monitor authentication failures and external API latency. Native sign-in and audit log retention is seven days, so export logs through Azure Monitor when longer retention is required. Microsoft Graph supports supported directory-management operations, but B2C does not provide every workforce Entra capability. Azure AD External Identities P2 is retired in B2C tenants, and Identity Protection capabilities are no longer available in B2C P1 tenants.
Azure AD B2C is no longer sold to new customers, while existing customers can continue operating it with support committed until at least May 2030. For new customer-identity deployments, evaluate Microsoft Entra External ID. For existing deployments, inventory user flows, custom policies, identity providers, application registrations, and REST dependencies before planning migration; B2C custom policies should not be assumed to transfer unchanged.