title: How to use Microsoft Graph API to display manager of a user resource type in Azure AD
body: <p><strong>Question</strong>: Using <code>Microsoft Graph</code> how do we display the manager of a user? For example, using <a href="https://developer.microsoft.com/en-us/graph/graph-explorer" rel="nofollow noreferrer">Microsoft Graph Explorer</a> you can get a signed-in user profile info by calling <code>https://graph.microsoft.com/v1.0/me</code>. But this call does not return all the fields - specifically not the manager field.</p>
  <p>I tried <code>https://graph.microsoft.com/v1.0/me?$select=manager</code> but it still did not return manager.</p>
  <p>In the <a href="https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#relationships" rel="nofollow noreferrer">Relationships</a> section of <a href="https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0" rel="nofollow noreferrer">user resource type</a> you see a <code>manager</code> field for a user's manager. And the <a href="https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0" rel="nofollow noreferrer">Json representation</a> of that Relationships shows <code>manager</code> field as follows:</p>
  <pre><code>&quot;manager&quot;: { &quot;@odata.type&quot;: &quot;microsoft.graph.directoryObject&quot; }
  </code></pre>
  <p>But I am not sure how do we use it to get he manager of a user.</p>
  <p><strong>UPDATE</strong>:</p>
  <p>Following is a screenshot of just a portion of result from the query from the user <code>@CarlShao</code>. In fact it is returning tons of attributes for manager object. But I'm showing just current screen of my laptop:
  <a href="https://i.stack.imgur.com/4oEzv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4oEzv.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/w2FNW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w2FNW.png" alt="enter image description here" /></a></p>