简体   繁体   中英

Login Issue to Azure AD B2C

I have list of users in Azure Active Directory with different sources as shown in image在此处输入图像描述

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在此处输入图像描述

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM