@Pender Sessoms
Thank you for posting your question in Microsoft Q&A.
I have tried this in my lab and I got the correct report for all dynamic groups with there membership rules.
This cannot be performed via GUI.
However, you can use PowerShell to get the output with all dynamic groups with there membership rules.
Follow below steps,
- Open Windows PowerShell as administrator.
- Run command "Import-Module Microsoft.Graph.Groups"
- Once you install the module you can run command Connect-MgGraph -Scopes "group.read.all". Enter the Global admin credentials if it prompts for credentials.
- Run command "Get-MgGroup -All | Where-Object GroupTypes -EQ "DynamicMembership" | select -Property GroupTypes,DisplayName,MembershipRule | Export-Csv c:\testchecker.csv"
NOTE: You can change the path at the end of the command for exporting the output.
Above command will pull all Dynamic group types along with their displayname and MembershipRule.
Output will be exported to csv.
Let me know if you have any further questions on this.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.