How to Audit Entra Dynamic Groups for the Retiring memberOf Rule

How to audit dynamic groups' rule memberOf

Microsoft is retiring the memberOf rule operator in Microsoft Entra ID on November 3, 2026. If your organization uses this rule in dynamic groups, you need to identify the affected groups, understand what they control, and replace their rules before automatic membership updates stop.

This may seem like a one-time cleanup task. It’s also a good opportunity to create a repeatable Entra dynamic group audit process. That process can help you review group rules, ownership, membership, and processing health long after the memberOf deadline has passed.

The Problem: memberOf Rules Must Be Replaced

The memberOf operator lets an Entra dynamic group include users or devices according to their membership in another group. This convenient way to create group-based membership is being retired on November 3, 2026, so any affected dynamic groups need a new rule before automated membership updates stop.

After the retirement date, groups using this rule can keep their last calculated membership. This means that users or devices that should be added may not receive the right license, access, or policy. And those who should be removed could retain access.

Your first step is to report every dynamic group that contains memberOf. Then you can review what each group controls and prepare a replacement rule.

Solution 1: Audit Dynamic Rules with Entra and PowerShell

For a quick manual check, open the Microsoft Entra admin center, then go to Entra ID > Groups > All groups.

Apply a filter for dynamic membership to see your dynamic user and device groups. Open a group, then review the Dynamic membership rules section to see whether its rule contains memberOf.

Finding the dynamic membership rule details of a group in the Microsoft Entra admin center.

This method works for a small environment or a quick spot-check. However, it is difficult to scale. You need to open groups one at a time, inspect each rule manually, and record your findings separately. That takes time and increases the risk of missing a group.

For a tenant-wide Entra dynamic groups report, Microsoft Graph PowerShell is a more scalable native option. The following example finds groups with a membership rule that contains memberOf:

Using Microsoft Graph PowerShell to list Entra dynamic groups with a memberOf membership rule.

You can export the results to CSV and use that report to plan remediation for each affected group.

However, PowerShell reporting is only the first step. You still need to investigate what each group controls, identify an appropriate replacement rule, and update the groups. You may also need separate scripts to make bulk changes, export results, and schedule regular audits.

For future reviews, you will need to maintain the script, test it after changes, and arrange a recurring process to generate and distribute the report.

Solution 2: Make Dynamic Group Audits Easier with sapio365

Instead of maintaining scripts and repeatedly combining CSV exports with spreadsheets, Microsoft 365 admins can use sapio365 to review, organize, report on, and update Microsoft 365 data from one interface.

sapio365 lets you load Entra groups, view group properties such as dynamic membership rules and owners, filter the data, export results, and take action directly. This makes it easier to create a reusable Entra dynamic group report for the memberOf retirement project and for ongoing governance.

Create a Custom Dynamic Group Report

The sapio365 Dashboard already shows your Entra dynamic group count, making it an easy place to start.

Load your dynamic groups to see the full list, including basic properties such as group type and creation date.

sapio365 displaying all Entra dynamic groups and their group properties in one view.

Add the group details you need to the GridView, such as the membership rule, processing state, owners, and member count. Then filter the Membership Rule column for memberOf and export the affected groups to Excel.

You can save this filtered view and reuse it later for future Entra dynamic group audits.

Filtering and arranging Entra dynamic group data in sapio365 to create a custom memberOf rule audit report.

Update Dynamic Rules in Bulk

After you identify the affected groups, export the report to Excel and add a column for the replacement rule. For example, you can replace a memberOf rule with an attribute-based rule if a reliable user or device attribute identifies the same members.

Use the exported Excel file to prepare the new rules for each affected group. Then use sapio365 to update the dynamic membership rules across multiple groups at once.

Before applying the updates, sapio365 provides a preview so you can review the proposed changes and confirm that they are correct.

Previewing bulk updates to Entra dynamic group membership rules in sapio365 before applying the changes.

Create and Schedule Unlimited Custom Reports

The memberOf retirement may only require a one-time report. However, the same process can help you create as many custom Entra dynamic group reports as you need in the future.

For example, you might save separate views to review dynamic groups by membership type, groups with specific rule operators, groups without owners, or groups with membership-processing issues.

With sapio365 Quick GridView, you can schedule each view as a recurring report, with the Excel file delivered automatically to the people who need it.

You can also create a separate custom view for the members of the groups in a saved group report. This makes it easier to monitor group membership over time and support recurring access reviews.

Scheduling a recurring custom dynamic group members report in sapio365.

Entra Dynamic Group Audits: Native Tools vs. sapio365

Both Microsoft Entra and PowerShell can help you find dynamic groups that use the retiring memberOf rule. However, sapio365 makes it easier to turn that one-time task into a repeatable reporting and remediation process.

The table below compares the native approach with sapio365 for auditing, updating, and monitoring Entra dynamic groups.

Task Entra admin center Microsoft Graph PowerShellsapio365
Find memberOf rulesOpen and inspect groups individuallyUse a custom script to filter dynamic membership rulesFilter the Membership Rule column in a visual group report
Review all dynamic groupsManual, group-by-group reviewRetrieve and format properties in codeLoad and review group properties in one GridView
Export resultsManual collection or limited export optionsCreate and maintain CSV export logicExport filtered data to Excel in a few clicks
Investigate group detailsOpen each group separatelyExpand the script with more propertiesAdd owners, rules, descriptions, member counts, and other properties to the report
Prepare replacement rulesTrack changes in a separate fileBuild or adapt another scriptAdd replacement rules to the exported Excel file
Update multiple groupsUpdate groups individuallyCreate, test, and maintain bulk-update scriptsPreview and apply bulk updates from the file
Save a reusable audit viewNot available as a custom reporting workflowSave and maintain scriptsSave custom GridViews with selected columns and filters
Schedule recurring reportsManual review requiredSet up and maintain external schedulingSchedule saved reports and automatically email exported Excel files
Best fitSmall, one-time checksAdministrators comfortable maintaining scriptsOngoing audits, remediation projects, reporting, and bulk administration

Sonia Bounardjian

Sonia is a sapio365 product specialist at Ytria. She was part of the initial development team that created sapio365. When she's not busy helping sapio365 users virtually or writing helpful articles in this blog, she's reorganizing her impressive collection of unused high heels.