Login Issue to Azure AD B2C

228 views Asked by At

I have list of users in Azure Active Directory with different sources as shown in image enter image description here

I cannot be able to login to with users with External Azure Active Directory as a source. I am using angular-oauth2-oidc module to authorize a user. This is the error i get whenever i login with user with source External Azure Active Directory enter image description here

1

There are 1 answers

0
Allen Wu On

Users with External Azure Active Directory are guest users invited into the Azure AD B2C.

They are not the local account of the Azure AD B2C. So you can't log in with these users.

You can verify the identities property through Microsoft Graph API: GET https://graph.microsoft.com/beta/users/{Object ID}. You will find there are no emailAddress or userName in it.

If you want to log in with them, you should configure sign-in for a specific Azure Active Directory.

You can refer to Set up sign-in for a specific Azure Active Directory under User Flow and Set up sign-in with an Azure Active Directory account using custom policies.