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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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