Skip to content

All Microsoft 365 Groups

The question it answers: Which Microsoft 365 groups exist, with their primary address and number of direct members?

Where in the appEntra ID › Groups › Microsoft 365
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.
LicenceExchange Online.
Report id (API and MCP)entra.groups.microsoft365
ColumnKeyType
Display NameDisplayNameText
Primary AddressMailText
Member CountMemberCountText

Licence: Exchange Online.

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

PermissionAPIWhat it allowsNote
Exchange.ManageAsAppOffice 365 Exchange OnlineManage Exchange As Application+ View-Only Recipients
Group.Read.AllMicrosoft GraphRead all groups
Data sources it reads
  • PowerShell: Get-UnifiedGroup -ResultSize Unlimited
  • PowerShell: Get-MgGroupMemberCount -GroupId (per group; GET /v1.0/groups/{id}/members/$count)
GET /ir-api/v1/reports/entra.groups.microsoft365?size=100

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