Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Create Flat AD security group from a list of nested groups

(0) ShareShare
ReportReport
Posted on by 124

Hi all

 

I've got a situation that I'm hoping Power Automate can solve. With Dynamics instances. I can add a single security group to restrict access to that instance specifically to that group. The problem is that it doesn't support nested security group. So I can add another security group under the main one and the main group inherits all the users from the sub security group.

 

I was hoping perhaps Power Automate can emulate this process. I'm thinking of building a flow which checks on certain intervals nested security groups added to the main security group and then get all members from those nested security groups and add them to the primary one. 

 

I would also have to check if a member is not on any of the nested security group and remove subsequent members to the main security group.

 

I noted you could potentially do it with a PowerShell script but it doesn't run automatically and was hoping there might be a Power Automate solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1