Azure Active Directory B2C not storing E-Mail address

Gennaro Eduardo Tangari 5 Reputation points
2023-12-06T14:30:28.8933333+00:00

Hi there,

I have deployed an Azure Active Directory B2C and enabled some of the out of the box user flows.

In particular, in the SignupSignIn, I have "checked" the "Email Address" in the user attributes and I have added it also to the application claims. I have a custom API connected in the pre-user creation that gets the AADB2C properties and store them in D365 Sales as contact. All fine in D365, but the Email property remains empty in the AAD B2C user.

How can I solve this issue?

Thanks in advance for your input!

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,992 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,201 Reputation points Microsoft Employee
    2023-12-12T06:26:20.6833333+00:00

    Hi @Gennaro Eduardo Tangari ,

    Apologies for delay in response.

    The E-mail address in Azure AD B2C is added to the signInType property of the user's object and can be retrieved using Graph API beta endpoint in identities collection.

    User's image

    In the portal as well, you can see the sign in email in the User's Identities.User's image

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.