View on GitHub

azure-ad-license-status

Creates an Azure AD license report based on license assignments and consumption

1 Introduction | 2 Features | 3 Requirements | 4 Preparations | 5 Usage | 6 Examples

2 Features

2.1 Organization level

2.1.1 Basic

✔ Check for license availability based on Azure AD license information

✔ Calculate report importance based on organization’s thresholds

2.1.2 Advanced

Check for license need based on Azure AD and Office feature information:

Azure Active Directory Premium P1 based on applications using application proxy

Azure Active Directory Premium P1 based on groups using dynamic user membership

Azure Active Directory Premium P1 based on applications using group-based assignment

Azure Active Directory Premium P1/P2 based on users covered by Conditional Access

Azure Active Directory Premium P2 based on users eligible for Privileged Identity Management

Defender for Office 365 P1/P2 based on protected Exchange Online recipients

Intune Device based on devices managed by Intune and used by unlicensed users

2.2 User level

2.2.1 Basic

✔ Check for Microsoft’s mutually exclusive licenses

✖ Check for Microsoft’s interchangeable licenses

✔ Check for organization’s interchangeable licenses

✔ Calculate optimizable licenses based on available features

✔ Calculate removable licenses based on enabled features

2.2.2 Advanced

Check for organization’s preferable licenses, based on multiple criteria:

✔ Whether a user is enabled

✔ Whether a user is a guest

✔ When a user was created

✔ When a user was last active

✔ How much OneDrive storage a user has used

✔ How much mailbox storage a user has used and whether the mailbox has an archive

✔ Whether a user has used Windows/Mac/mobile/web versions of Office applications

✖ Whether a user has enrolled a device in Intune

DISCLAIMER: Multiple of the criteria above rely on usage reports available in Microsoft 365 admin center and therefore depend on those reports’ accuracy.