title: How to retrieve all user's display name from Azure Active Directory?
body: <p>Sorry I'm still new to Azure AD. I want to retrieve all user's display name from Azure Active Directory and populate it into a dropdownlistFor/dropdownlist but I have no idea how to get it. </p>
  
  <p>Currently I only know how to get the current logged in user's display name using </p>
  
  <pre><code>@using Microsoft.Azure.ActiveDirectory.GraphClient
  @model User
  @Model.DisplayName
  </code></pre>
  
  <p>I've also tried to look at Azure's github <a href="https://github.com/Azure-Samples/active-directory-dotnet-graphapi-web" rel="nofollow noreferrer">https://github.com/Azure-Samples/active-directory-dotnet-graphapi-web</a> but cloning it only gives me build errors</p>
  
  <p>Any help or code example will be appreciated, thanks.</p>