title: Microsoft graph - much of the user data returned from azure active directory is NULL
body: <p>I am querying Azure Active Directory for users using Microsoft Graph API in .NET.
  When i browse Active Directory in the azure portal, i can see the users have details such as user principal name.</p>
  <p>When i query via .net however, the UPN is null (see image below)
  This particular request was a delta query and the user is a new user.
  The App Registration has the following Graph API permissions:
  <a href="https://i.stack.imgur.com/Lu3O8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lu3O8.png" alt="enter image description here" /></a></p>
  <p>Any idea why the UPN is blank?</p>
  <p>Code to get the delta:</p>
  <pre><code>        lastDeltaPage.InitializeNextPageRequest(graphClient, deltaLink.ToString());
          usersPage = await lastDeltaPage.NextPageRequest.GetAsync();
          users.AddRange(usersPage.CurrentPage);
  
          while (usersPage.NextPageRequest != null)
          {
              usersPage = await usersPage.NextPageRequest.GetAsync();
              users.AddRange(usersPage.CurrentPage);
          }
  
          if(usersPage.NextPageRequest == null)
          {
              usersPage.AdditionalData.TryGetValue(&quot;@odata.deltaLink&quot;, out deltaLink);
          }
  
          return users;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ZXtW9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZXtW9.png" alt="enter image description here" /></a></p>