Showing results for 
Search instead for 
Did you mean: 
New Member

Adding to on-prem group

In an hybrid environment, is it possible possible to add a user to an on-premises security group though a flow action?

Super User
Super User

Hi @ranjeetnegi 


Try reading the following Add members to a distribution list – Power Automate - DamoBird365 all you need is the AAD Security Group GUID, as the add member to group action will not show the security group name dynamically.


Please consider accepting my answer as a solution if it helps to solve your problem.


Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

New Member

Hi @DamoBird365,

Thanks for your response. I know you can add to an AAD security group, but I want to add to an on-premises Active Directory security group. The on-premises groups cannot be edited in Azure or Microsoft 365 space. You need to edit them on-premises only. Hope this helps.




@ranjeetnegi apologies. I’ve done little with onPrem AD. Seems like it’s on the ideas list as there is no out of the box method.


New Member

@DamoBird365 no worries. Microsoft supports hybrid environments. I can't think of a reason why Microsoft hasn't got something in place for on-prem yet. Thanks for your response.




@ranjeetnegi ,

I recognize that I didn’t try it.
Theoretically, you can try with a power automate desktop flow and a proper gateway installed on AD server. Call the flow from a power automate cloud flow with security group and user name passed as variables.

All you have to do is to carefully project your desktop flow.

@gabibalaban thanks for your response. I too heard something similar. I'll try finding the steps somewhere and see if I can test it.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,493)