This script is intended for Microsoft partners managing multiple Azure & Office 365 clients using the delegated admin method.

The script will enumerate available, consumed and unused licenses across all Microsoft cloud platforms (Azure, Office365, EMS, Intune, etc), for all of your clients at once.

As a Microsoft partner this information is crucial in many ways- identify unused licenses or services and enable your client better cloud adoption, or monitor license usage growth in order to make sure your client has sufficient amount of licenses.


  • Delegated admin permissions.
  • MsOnline PowerShell module installed.


Download (click here) and run using your delegated admin user credentials.