title: Azure B2C Signup Email missing from Microsoft Graph API?
body: <p>We have a tenant where we use Azure B2C for handling logins to a customer portal we are developing. When we create a user we are able to choose which login type we would like to use. Here we choose &quot;Email&quot; and complete the registration.</p>
  <p>In the API we fetch all the users via Microsoft Graph API and none of the fields returned contain the &quot;Email&quot; we chose while registrering the user.</p>
  <p>When running /me/ through the Graph API we see the &quot;Mail&quot;-field is filled, but not while querying /users/.</p>
  <p>UserPrincipalName is diplaying the correct email when browsing the user in the Azure B2C Control Panel. But the Graph API query shows userPrincipalName as {guid}@{tenant}.onmicrosoft.com.</p>
  <p>In addition the email property is empty and disabled in Azure B2C.</p>
  <p>How do I extract the &quot;Email&quot; used in the registration of a new user in Azure B2C via the Microsoft Graph API?</p>
  <p><a href="https://i.stack.imgur.com/z18gu.png" rel="nofollow noreferrer">Screenshot showing before and after registration</a></p>
  <p>Response from Microsoft Graph API:</p>
  <pre><code>{Microsoft.Graph.User}  Microsoft.Graph.User
      DisplayName &quot;MyEmail Test&quot;  
      Id  &quot;c04b6e19-503c-4035-b2ab-c763765b8e4c&quot;  
      ODataType   &quot;microsoft.graph.user&quot;  
      UserPrincipalName   &quot;916863de-42ac-449e-bec6-6f59d706c870@{tenant}.onmicrosoft.com&quot; 
  </code></pre>