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 noemailAddress
oruserName
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.