I have created an Azure AD B2C tenant and configured local account with username as the login method. I created a signup policy and did a signup through Azure AD B2C signup screen. In the signup screen, I entered an email address and Azure AD B2C sent an email for validation. Once signup succeeded, I was trying to get the signed up user's details through the Graph API.
Graph API URL used to retrieve user details:
https://graph.windows.net/<tenantid>/users?api-version=1.6
I was able to get all other information of new user like username, first name, last name, etc... except the email address entered by the user during email validation.
Please let me know if there is any way or configuration available to get email address through the Graph API.
otherMails
property? Were there any values there? – Shawn Tabrizi