Does Azure B2C support any corporate Azure AD as IdP?

Joel Fjordén 0 Reputation points
2023-02-02T15:55:23.0633333+00:00

We want to add Azure AD as an IdP, in Azure B2C, using the URL below in order to allow any tenant, but it is not allowed in the dialog.

https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration

We have also tried with organizations instead of common, as below, which is accepted in the dialog, but then we get issues is not valid in the response.

https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration

If we add a specific tenant id instead of common in the URL, it all works fine, but we must be able to allow any Azure AD tenant to sign in.

Is this not supported using Azure AD B2C?

We have configured the app registration used to allow the following...

Accounts in any identity provider or organizational directory (for authenticating users with user flows)

This is the most common option for apps that are exposed to your customers. You must select this option to authenticate users with Azure AD B2C user flows. This option enables you to target local accounts and the widest set of user identities from Microsoft, Facebook, Google, Twitter, or any OpenID Connect provider.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,639 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 16,026 Reputation points Microsoft Employee
    2023-02-15T06:15:34.81+00:00

    @Joel Fjordén

    Thank your for posting your query on Microsoft Q&A.

    From the above I am able to conclude that you want to add Azure AD as an IDP in B2C for multiple Azure AD tenant users, so that they could access Azure B2C application from different Azure AD tenants.

    Please do correct me if there is any discrepancy in my understanding by responding in comments.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer", "Upvote" and share your feedback (Yes/No) if the suggestion works as per your business need. This will help us and others in the community as well.

    0 comments No comments