Home > Software design >  Authenticate Azure AD User Using Azure B2C
Authenticate Azure AD User Using Azure B2C

Time:12-12

First of all let me explain the scenario.

Dev Technology

  • Blazor ( Any SPA)
  • .Net Core API
  1. I have Azure B2C tenant. My application authentication and authorization is configured using Azure B2C.

  2. Now there is some busines related requirement in which external azure active directory user needs to add Azure B2C and at the same time it will get authenticate using external Azure AD.

Is this valid scenario and is this possible ?

Update

Let me give some more insight and example.

  1. I have b2c tenant name mytenantpoc.

  2. I am working in pocorganization and they have Azure AD tenant and my user is there with like [email protected]. This is work account.

  3. Now If I invite this [email protected] to B2C tenant then it will land as a external active directory user and if I assign some role then it is also possible that user manage Azure B2C tenant.

Now I am working on one Blazor application and it required some authentication. So I have registered application B2C.

Problem: If I now try to login with [email protected] then it is not working.

What is working : If I create new user in B2C then it is working.

What I am looking for: I want to use Azure AD user in B2C and their authentication will perform.

CodePudding user response:

I think you can invite external AD users as guest on tour tenant and then permit login to local accounts on your B2C

Update To permits local accounts you have to change the user flow (or custom policy if your are using that)

CodePudding user response:

When you invite a user to B2C, they become an admin. user NOT a local user.

In this scenario, you need to use federation i.e add the azure AD instance as an external provider.

  • Related