How to determine the number of enabled Azure AD accounts

Azure AD and Office 365
Licensing
https://kb.netwrix.com/3334
Copy Article URL Copied

Follow the instructions below to determine the number of enabled Azure AD accounts:

  1. Make sure that you have the Azure Active Directory PowerShell 2.0 module installed. If not, install as described in the following Microsoft article: Installing the Azure AD Module.
  2. Connect to Azure AD.
  3. Execute the following command:
(Get-AzureADUser -All:$True -Filter "accountEnabled eq true").Count

When completed, you will see the number of enabled user accounts in Azure AD:

Go Up