Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
roygervase
Frequent Visitor

AD Group Membership Flatten Users list of nested groups

I am working on an audit of all accounts that have admin access on our servers.  We have a power shell script that returns all Members of the local admin group for every server we have.  I have an AD connection that gets all AD groups with members and I have connected them.

Here is where it gets interesting.

 

For simplification I have Server A in the local admin group it has”

 

User 1

User 2

AD Group 1

 

 

AD Group 1 members

                User A

                User B

                AD Group 2

 

AD Group 2 members

                User 3

                User 4

 

I want to give a flat users list saying here are the local admins of Server A:

                User 1

                User 2

                User A

                User B

                User 3

                User 4

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @roygervase 

 

I have no access to any AD, so I'm curious about what the table structure looks like currently. Do all groups and their members exist in the same table? Can you show a sample table with some dummy data?

 

Best Regards,
Community Support Team _ Jing

I have a data set that has all of the groups  with the members and object category

AD Group 1 members

                User A -Person

                User B - Person

                AD Group 2 - Group

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors