Follow the instructions below to determine the number of enabled Azure AD accounts:
- 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.
- Connect to Azure AD.
- 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: