title: Graph API get users from Azure AD
body: <p>I have users in my Azure AD, i need to get users from AD and put it in C# list with all their properties. Just like here (<em>users -> 
  all users in the organization</em>): <a href="https://developer.microsoft.com/en-us/graph/graph-explorer#" rel="noreferrer">https://developer.microsoft.com/en-us/graph/graph-explorer#</a></p>
  
  <p>I found some documentation but i dont understand how to use it properly. In general, result must be C# list, or maybe json file with users and their properties. Can you please give me an example or something? </p>
  
  <p>Documentation:</p>
  
  <ol>
  <li><p><a href="https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations#GetUsers" rel="noreferrer">https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations#GetUsers</a></p></li>
  <li><p><a href="https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureaduser?view=azureadps-2.0" rel="noreferrer">https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureaduser?view=azureadps-2.0</a></p></li>
  </ol>