title: Incomplete Microsoft.Graph.User profile data
body: <p>When retrieving data via the Microsoft Graph <code>User.Read</code> scope, I am only seeing data for the <code>businessPhones</code>, <code>displayName</code>, <code>givenName</code>, <code>id</code>, <code>jobTitle</code>, <code>mail</code>, <code>mobilePhone</code>, <code>officeLocation</code>, <code>preferredLanguage</code>, <code>surname</code> and <code>userPrincipalName</code> properties.  I need to be able to expose data for the entire collection of properties, including items such as <code>companyName</code>, <code>state</code>, <code>streetAddress</code>, etc.</p>
  
  <p>I have downloaded two samples from GitHub both of which ran as expected but neither provides the complete set of attributes from the Microsoft.Graph.User object.  I saw the complete set of User properties exposed in an ASP.Net Core demo, so, I know it can be done.  However, I'm not ready for ASP.Net Core just yet.</p>
  
  <pre><code>@model Microsoft.Graph.User
  @{
      ViewBag.Current = "Profile";
  }
  &lt;h1&gt;Profile&lt;/h1&gt;
  &lt;table class="table"&gt;
      @{
          var properties = Model.GetType().GetProperties();
          foreach (var child in properties)
          {
              object value = child.GetValue(Model);
              string stringRepresentation;
              if (!(value is string) &amp;&amp; value is IEnumerable&lt;string&gt;)
              {
                  stringRepresentation = 
                      "[" 
                      + string.Join(", ", (value as IEnumerable&lt;string&gt;).OfType&lt;object&gt;().Select(c =&gt; c.ToString()))
                      + "]";
              }
              else
              {
                  stringRepresentation = value?.ToString();
              }
  
              &lt;tr&gt;
                  &lt;td&gt; @child.Name &lt;/td&gt;
                  &lt;td&gt; @stringRepresentation &lt;/td&gt;
              &lt;/tr&gt;
              }
      }
  &lt;/table&gt;
  </code></pre>
  
  <p>As noted, the code iterates the User object properties as expected but only provides a subset of available results.  I was able to validate my suspicions by retrieving my user profile data from the Microsoft Graph Explorer site and comparing it with the results from my app.  The Graph Explorer provided data not available through my app.  </p>
  
  <p>What am I missing?  Any assistance is greatly appreciated.</p>