How to register a web application for Microsoft Entra ID and Azure AD B2C atthe same time?

Hatvani Sándor 0 Reputation points
2024-09-11T06:22:31.72+00:00

Hi,

We have a Ruby web application, and we would like intranet and external users to be able to log in to it. My question is: is it possible to use Microsoft Entra ID and Azure AD B2C at the same time, and what do we need to be aware of?

Thank you in advance.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,426 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 9,640 Reputation points Microsoft Vendor
    2024-09-16T01:56:47.1733333+00:00

    Hi @Hatvani Sándor

    Thank you for posting this in Microsoft Q&A.

    I understand that you wish to utilize Microsoft Entra ID and Azure AD B2C at the same time for user logins.

    Yes, it is possible to use Microsoft Entra ID and Azure AD B2C at the same time to authenticate both intranet and external users to your Ruby web application.

    To do this, you can configure Azure AD B2C to use Microsoft Entra ID as an identity provider. This involves creating an identity provider in Azure AD B2C that points to your Microsoft Entra ID service instance, and then configuring a user flow to use that identity provider. When configuring your user flow, you will need to ensure that you are requesting the appropriate claims from Microsoft Entra ID to authenticate your users. Once you have configured Azure AD B2C to use Microsoft Entra ID as an identity provider, you can use Azure AD B2C to authenticate both intranet and external users to your Ruby web application.

    Please go through the below documents to use Microsoft Entra ID and Azure AD B2C

    sign-up and sign-in with an Azure AD B2C account

    sign-in for a specific Microsoft Entra organization in Azure Active Directory B2C

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Navya.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.