Skip to content

Entra ID Groups Licence Statistics

The question it answers: How many members does each licensing group have, how many of them got the licence from it, and how many failed?

Where in the appLicensing › Groups › Groups Licence Statistics
WorkloadEntra ID
KindTable
DataRead from Microsoft 365 when someone first opens it, then kept for the report cache lifetime (Settings > Data & cache, 1 hour unless changed). It reads through PowerShell (Exchange Online or SharePoint Online), so the first load takes longer than a Graph report.
LicenceMicrosoft Entra ID P1 (group-based licensing).
Report id (API and MCP)entra.groups.licence-statistics
ColumnKeyType
Display NameDisplayNameText
LicencesLicensesText
Licence Total User CountLicenseTotalUserCountText
Licensed User CountLicensedUserCountText
Licence Error CountLicenseErrorCountText

Licence: Microsoft Entra ID P1 (group-based licensing).

Application permissions on the IntensiveReports app registration (all permissions):

PermissionAPIWhat it allowsNote
Group.Read.AllMicrosoft GraphRead all groups
User.Read.AllMicrosoft GraphRead all users’ full profiles
Data sources it reads
  • PowerShell: Get-MgGroup -All -Property DisplayName, Id, AssignedLicenses
  • PowerShell: Get-MgUser -All -Property Id, LicenseAssignmentStates
  • PowerShell: Get-MgGroupMember -GroupId -All (per licensed group)
GET /ir-api/v1/reports/entra.groups.licence-statistics?size=100

An AI assistant reads it with the MCP tool get_report and the id entra.groups.licence-statistics. The client needs the Read grant for Entra ID. See Using the API.