Sample Request
I would like to contribute a PowerShell sample that audits Microsoft Entra ID Dynamic Groups using Microsoft Graph PowerShell.
Summary
The sample retrieves a dynamic group by display name and provides health and processing information that can be useful for Intune, Windows Autopilot, Conditional Access, and Entra ID administrators.
Capabilities
- Connects to Microsoft Graph
- Retrieves a Dynamic Group by display name
- Displays the dynamic membership rule
- Retrieves membership rule processing status
- Retrieves membership rule processing details
- Retrieves last membership evaluation timestamp
- Retrieves current member count
- Exports audit results to CSV
Example Output
GroupName : AutoPilot-Dynamic
GroupId : b26b453d-62d0-4998-8569-10dd304b3bad
Status : Succeeded
StatusDetails : N/A
LastMembershipUpdated : 2026-08-30T12:47:08Z
RuleEvaluationStatus : N/A
MemberCount : 487
CheckedAt : 2026-09-27 12:46:51
Sample Request
I would like to contribute a PowerShell sample that audits Microsoft Entra ID Dynamic Groups using Microsoft Graph PowerShell.
Summary
The sample retrieves a dynamic group by display name and provides health and processing information that can be useful for Intune, Windows Autopilot, Conditional Access, and Entra ID administrators.
Capabilities
Example Output