Why use this template?
Use this PowerShell template when you need to find groups using dynamic membership rules. It can be previewed in the Builder; Pro access is required to generate it for your own environment.
The template uses Microsoft.Graph.Groups and requires Group.Read.All. Output: CSV report. Level: Intermediate. Action: Read-only. Risk: Low.
Review before running
The script remains preview-only until Pro access is enabled. Review it before running it, and test it outside production first. “Read-only” describes the script itself; anything you add around it can still change data.
Preview the script
- Open the template in the PowerShell Builder.
- Review the purpose, requirements, permissions, output and risk.
- Activate Pro when you are ready to generate the full script, then test it outside production.
Pro templates remain previewable before purchase or activation. No tenant connection is required. When you generate a Pro script, only the configuration values needed for that template are sent to Opselith after license validation.Preview Find Entra dynamic groups →
How to use this result
Use this report to inventory groups whose GroupTypes includes DynamicMembership and review the rule that drives membership.
When this helps
- Review dynamic group rules before licensing, access or migration changes.
- Find groups whose rule-processing state or membership logic needs administrator review.
How to read the result
- MembershipRule contains the rule expression; MembershipRuleProcessingState shows whether rule processing is configured to run.
- A syntactically present rule does not prove that its resulting membership is correct for your business intent.
Things to check
- Dynamic membership can affect security groups, Microsoft 365 groups, licensing and access decisions, so rules should be reviewed before edits.
- Microsoft changes and retires preview rule features over time; validate unusual operators against current Microsoft documentation.
What to do next: Test the rule logic and review resulting membership before changing a production dynamic group.
Related tasks
Official references