title: Get-AzureADUser - ALL - PowerShell Slow Get all users and users who made changes to account
body: <p>I am working with Azure AD and need to get all users and export it into csv file and finally put it into SQL. </p>
  
  <p>At this moment we have about 10,000 users. The problem is the PowerShell command [Get-AzureADUser – ALL] it’s SUPER SLOW!! It takes about 58 minutes to complete the task. Today we noticed that some users made changes to their account. I need to update the whole list to find the changes made. </p>
  
  <h1>My questions is:</h1>
  
  <p>1)  Is there a faster way I can get ALL users?</p>
  
  <p>2)  How can I only find users who made changes to their account?</p>
  
  <p>Powershell script:</p>
  
  <pre><code>$aadUsers = Get-AzureADUser -All $true | Select DisplayName, ObjectId, userType,GivenName
  </code></pre>