A cloud-based identity and access management service for securing user authentication and resource access
b2c multi tanennant
Hello Microsoft Support Team,
I am requesting assistance because I am unable to configure multi-tenant Azure Active Directory (Entra ID) login in Azure AD B2C using custom policies.
Summary of the Issue
I need my Azure AD B2C tenant to allow users to sign in from:
- Google (OIDC)
Microsoft personal accounts (MSA – hotmail/outlook)
Azure AD Work/School accounts from ANY tenant (multi-tenant)
Google and Microsoft personal account login work, but Azure AD multi-tenant login continues to fail.
What I’ve Tried
I have already attempted the following:
Created a multi-tenant app in Entra ID with:
Supported account types: Accounts in any organizational directory + personal Microsoft accounts
Redirect URIs configured properly
Secret created and mapped to a B2C key container
Added a **Custom OIDC Provider** in B2C with:
Metadata: `https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration`
response_type = `code`
response_mode = `form_post`
scope = `openid profile email`
Added a **TechnicalProfile** in `TrustFrameworkExtensions.xml` with:
```yaml
```
Mapped the identity provider into the **SignUpOrSignin** user journey.
Tested through both:
Portal → Run Policy
Direct authorize URL with jwt.ms
Error Messages
Depending on configuration attempts, I encounter variations of:
AADB2C90238: The provided token does not contain a valid issuer
AADB2C: An exception has occurred
server_error
Token validation fails when Azure AD users authenticate
Portal Behavior
The B2C portal currently does not show “Azure Active Directory” as a built-in IdP option. Only Microsoft Account (MSA) appears. Therefore, I am using Custom OIDC instead.
What I Need
I would greatly appreciate Microsoft’s help to confirm:
Whether custom OIDC is still the officially supported method for multi-tenant Azure AD login in B2C (2025).
The exact OIDC metadata and issuer validation settings required for cross-tenant login.
Whether any recent platform or policy schema changes could affect multi-tenant OIDC integration.
Whether there are known issues with token issuer validation when using organizations authority.
Any recommended updated reference implementation for:
B2C custom policies
Azure AD multi-tenant OIDC login
Token issuer validation rules
I can provide correlation IDs, timestamps, or full custom policy XML files upon request.
Thank you very much for your assistance. I look forward to your guidance and a resolution.Hello Microsoft Support Team,
I am requesting assistance because I am unable to configure multi-tenant Azure Active Directory (Entra ID) login in Azure AD B2C using custom policies.
Summary of the Issue
I need my Azure AD B2C tenant to allow users to sign in from:
Google (OIDC)
Microsoft personal accounts (MSA – hotmail/outlook)
Azure AD Work/School accounts from ANY tenant (multi-tenant)
Google and Microsoft personal account login work, but Azure AD multi-tenant login continues to fail.
What I’ve Tried
I have already attempted the following:
Created a multi-tenant app in Entra ID with:
Supported account types: Accounts in any organizational directory + personal Microsoft accounts
Redirect URIs configured properly
Secret created and mapped to a B2C key container
Added a **Custom OIDC Provider** in B2C with:
Metadata: `https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration`
response_type = `code`
response_mode = `form_post`
scope = `openid profile email`
Added a **TechnicalProfile** in `TrustFrameworkExtensions.xml` with:
```yaml