IAMinerva
HomeBlogAbout
m3M365 NewscoMicrosoft CopilotteMicrosoft TeamsshSharePoint & OneDriveinIntune & SecurityexExchange & OutlookpoPower PlatformazAzure & Entra IDtuTutorials & GuidesevEvents & ConferencesseSecuritywiWindows
IAMinerva

Professional blog dedicated to the Microsoft 365 ecosystem.

Quick links

HomeBlogAboutNewsletter

Stay informed

Get the latest Microsoft 365 news delivered straight to your inbox.

© 2026 IAMinerva. All rights reserved.

Built withNext.js&Tailwind
Entra ID Group Insights : Guide complet pour l'analyse des groupes
BlogAzure & Entra IDEntra ID Group Insights: Complete Guide for Group Analysis
Azure & Entra ID#Entra ID#Group Insights#PowerShell

Entra ID Group Insights: Complete Guide for Group Analysis

Complete guide to Entra ID Group Insights: features, limitations, and creation of custom PowerShell reports to analyze your Microsoft 365 groups.

Houssem MAKHLOUF
April 4, 2026
5 min read

TL;DR par Minerva

généré par IA

Complete guide to Entra ID Group Insights: features, limitations, and creation of custom PowerShell reports to analyze your Microsoft 365 groups.

Introduction to Entra ID Group Insights

The Entra ID Group Insights represent a new preview feature that appeared in the Entra administration center in early February 2026, without prior official announcement. This solution aims to provide administrators with an overview of issues related to group management in their Microsoft 365 environment.

i

Preview Feature

Group Insights are currently available only in preview mode and require improvements before general availability.

Architecture and categorization of insights

The insights are organized into four main categories:

  • Owners: Analysis of group governance
  • Members: Statistics on group membership
  • Lifecycle: Management of expiration and retention
  • Security and Compliance: Application of security policies

Current interface limitations

One of the main weaknesses of this feature lies in the display of GUID identifiers rather than explicit group names. This approach significantly harms user experience, as administrators generally don't speak "fluent GUID".

!

Usability Issue

Displaying GUID identifiers instead of group names significantly limits the practical utility of insights for administrators.

Programmatic data retrieval

Access via Graph API

Group Insights data is accessible via the identityAnalytics endpoint of the Microsoft Graph API. Here's how to retrieve this information:

⚡PowerShell
1# Retrieve insights via Graph API
2$Uri = "https://graph.microsoft.com/beta/reports/identityAnalytics/groups"
3[array]$Data = Invoke-MgGraphRequest -Uri $Uri -Method Get -OutputType PsObject | Select-Object -ExpandProperty Value
4
5# Display group properties
6$Data[0]

Structure of returned data

Each entry in the array contains detailed information:

  • tenantId: Tenant identifier
  • calculatedDateTime: Date when insights were calculated
  • createdDateTime: Date the group was created
  • memberOwnerCount: Number of member owners
  • guestOwnerCount: Number of guest owners
  • transitiveUserCount: Total number of transitive users
  • sensitivityLabelCount: Number of sensitivity labels applied
  • assignedRoleCount: Number of assigned roles

Creation of enriched custom reports

Advanced PowerShell script for group analysis

To overcome the limitations of the native interface, here's a script that enriches insights data:

⚡PowerShell
1# Custom analysis script for Group Insights
2function Get-EnhancedGroupInsights {
3 param(
4 [string]$OutputFormat = "HTML"
5 )
6
7 # Retrieve insights
8 $Uri = "https://graph.microsoft.com/beta/reports/identityAnalytics/groups"
9 $InsightsData = Invoke-MgGraphRequest -Uri $Uri -Method Get -OutputType PsObject | Select-Object -ExpandProperty Value
10
11 # Retrieve detailed group information
12 $EnrichedData = @()
13 foreach ($Insight in $InsightsData) {
14 $GroupDetails = Get-MgGroup -GroupId $Insight.id -Property "DisplayName,Description,CreatedDateTime"
15
16 $EnrichedData += [PSCustomObject]@{
17 GroupName = $GroupDetails.DisplayName
18 GroupId = $Insight.id
19 CreatedDate = $Insight.createdDateTime
20 MemberCount = $Insight.transitiveUserCount
21 OwnerCount = $Insight.memberOwnerCount
22 GuestCount = $Insight.guestTransitiveUserCount
23 HasSensitivityLabel = $Insight.sensitivityLabelCount -gt 0
24 IsM365Group = $Insight.isCloudM365Group
25 IsDynamic = $Insight.isDynamicGroup
26 }
27 }
28
29 return $EnrichedData
30}
1

PowerShell Environment Configuration

Install and configure the Microsoft Graph PowerShell module:

⚡PowerShell
1Install-Module Microsoft.Graph -Scope CurrentUser
2Connect-MgGraph -Scopes "Group.Read.All", "Directory.Read.All"
2

Running the Analysis Script

Launch the script to obtain enriched insights:

⚡PowerShell
1$Results = Get-EnhancedGroupInsights
2$Results | Export-Csv -Path "GroupInsights.csv" -NoTypeInformation
3

Generating HTML Reports

Create a formatted HTML report with enriched data:

⚡PowerShell
1$HtmlReport = $Results | ConvertTo-Html -Title "Entra ID Group Insights Report"
2$HtmlReport | Out-File "GroupInsightsReport.html"

Comparative analysis of features

FeatureEntra InterfaceCustom Script
Display of namesNo (GUID only)Yes
Real-time dataNo (daily processing)Yes
CustomizationLimitedComplete
Data exportNoCSV, HTML, Excel
In-depth analysisBasicAdvanced

Improvement perspectives

Expected evolutions

Microsoft will likely need to make several improvements before general availability:

  • Identifier resolution: Display group names instead of GUIDs
  • Contextual insights: Adaptation to specific tenant configurations
  • Proactive alerts: Automatic notifications for critical issues
  • PowerShell integration: Dedicated cmdlets for automation
✦

Recommendation

While awaiting Microsoft improvements, develop your own analysis scripts to obtain actionable insights immediately.

Impact on group governance

Group Insights are part of a broader Microsoft 365 governance approach:

  • Increased visibility over group usage
  • Proactive identification of configuration issues
  • License optimization through analysis of unused groups
  • Enhanced security through anomaly detection

Practical PowerShell scripts

Identification of groups without owners

⚡PowerShell
1# Detection of orphaned groups
2$OrphanGroups = $InsightsData | Where-Object { $_.memberOwnerCount -eq 0 -and $_.servicePrincipalOwnerCount -eq 0 }
3foreach ($Group in $OrphanGroups) {
4 $GroupName = (Get-MgGroup -GroupId $Group.id).DisplayName
5 Write-Output "Orphaned group detected: $GroupName ($($Group.id))"
6}

Analysis of groups with external guests

⚡PowerShell
1# Groups containing guest users
2$GroupsWithGuests = $InsightsData | Where-Object { $_.guestTransitiveUserCount -gt 0 }
3$GroupsWithGuests | Sort-Object guestTransitiveUserCount -Descending | Select-Object id, guestTransitiveUserCount

Sensitivity label compliance report

⚡PowerShell
1# Groups without sensitivity label
2$UnlabeledGroups = $InsightsData | Where-Object {
3 $_.sensitivityLabelCount -eq 0 -and $_.isCloudM365Group -eq $true
4}
5Write-Output "Number of M365 groups without label: $($UnlabeledGroups.Count)"

Glossary of technical terms

Group Insights: Entra ID group analysis feature providing metrics on usage and governance.

IdentityAnalytics: Graph API endpoint allowing access to identity analysis data.

Transitive User Count: Total number of users with access to a group, including direct and indirect members.

Sensitivity Label: Data classification label applied to Microsoft 365 groups for information governance.

Dynamic Group: Group whose membership is automatically managed by rules based on user attributes.

Useful links and references

  • Official Microsoft Graph API Documentation
  • Microsoft 365 Group Governance Guide
  • Entra ID Administration Center
  • Office 365 for IT Pros Repository on GitHub
  • Sensitivity Labels Documentation
Share:
HM

Houssem MAKHLOUF

Microsoft 365 enthusiast & IT professional.

Previous article

Converting External Users to Internal Users with PowerShell

Mar 25, 2026
Next article

Microsoft Teams Updates: March 2026

Apr 7, 2026

Related articles

Réseau de données avec une loupe et graphiques informatiques.azure

Azure Copilot Observability Agent: Diagnosing Your Applications

Discover Azure Copilot Observability Agent: automatically diagnose application problems and reduce resolution time with Azure AI.

Jun 29, 20267 min
Cadenas stylisé avec des éléments graphiques abstraits et du texte sur la sécurité.securite

New Microsoft 365 Security Adoption Model

Discover the Microsoft 365 security adoption guide based on Zero Trust principles: modular approaches and modern strategies.

Jun 29, 20264 min
Main d'homme interagissant avec une interface numérique lumineuse et dynamique.copilot

Agents: Transforming Work with AI in Microsoft 365

Intelligent agents are redefining work in Microsoft 365 by automating complex and extended tasks. Discover their impact and adoption.

Jun 28, 20263 min