Azure B2C Federated user login - Missing email and UPN
I'm using B2C federation with external AAD. The user doesnt have any email address in external Azure AD but has UPN value.
However, in B2C once the user logs it does create a user profile but with empty fields for userPrincipalName and email. Moreover, the block sign-in is also set to "Yes".
Any pointers on how this can be resolved ?
I have the same issue. I'm following this documentation https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-single-tenant?pivots=b2c-user-flow and I also tried this one https://github.com/azure-ad-b2c/samples/tree/master/policies/B2C-Token-Includes-AzureAD-BearerToken and both doesn't work. When signing in with basic user flow with configured AD identity provider it works so it seems that the issue is with custom policy.
Sign in to comment