title: Azure AD B2C, get MFA verified phone number programmatically
body: <p>When I create a user in my web app using a B2C policy, and use a number for MFA, that number gets stored under "Authentication Contact Info" in the portal. It does not get stored in the claim from what I can see.</p>
  
  <p>How can I access this number programmatically? If I wanted to access for example the users surname I'd use:</p>
  
  <pre><code>var identity = (ClaimsPrincipal)Thread.CurrentPrincipal;
  var name = identity.Claims.Where(c =&gt; c.Type == ClaimTypes.Surname).Select(c =&gt; c.Value).SingleOrDefault();
  </code></pre>
  
  <p>Is there any way, like above or any other way like for example using Graph API, to access the stored phone number used during MFA?</p>