web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add member to a securi...
Power Automate
Answered

Add member to a security group via Power Automate

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

 

Is it possible to add members to a security group with Power Automate ?

 

Thanks, 

 

Charline

Categories:
I have the same question (1)
  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @Anonymous 

    You should be able to add 

    Office365Groups.AddMemberToGroup(GroupDropdown.Selected.id, UserDropdown.Selected.UserPrincipalName)

    For more you can check solution detail below

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Can-I-add-members-to-Security-mail-enabled-group-via-PowerApps/m-p/555346/highlight/true#M171801

    Hope it helps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Shujaath_Khan

     

    But this is for Power Apps and not for Power Automate ? 

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @Anonymous 

    here is a snap for your ref. to try out.

    reg. office365groups Connector:  https://docs.microsoft.com/en-us/connectors/office365groups/#add-member-to-group

    shujaathkhan_1-1653993641810.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Shujaath_Khan

     

    Your solution it's for O635 group not for security group ?

  • Verified answer
    Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    hi @Anonymous , Ok for Azure AD group here you go

    ref: https://docs.microsoft.com/en-us/connectors/azuread/#add-user-to-group

     

    shujaathkhan_0-1653996509587.png

     

    Hope it helps

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Shujaath_Khan

     

    How I found the ID group of my security group ?

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @Anonymous 

    To get a group ID

    1. goto: https://aad.portal.azure.com
    2. Click on Azure AD (1) > Groups (2) > search your Group (3) > Get Object ID (4). Hope the snap helps
    3. If you're not having AD Access, AzureAD Admin shall help you with ID

    shujaathkhan_1-1654000704085.png

     


    If this post helps, then please consider 
    Accepting it as the solution to help the other members find it.

     

    Thanks

  • sbasar Profile Picture
    2 on at

    is their a way to add user to security group on-premise with power automate

     

  • jag7674 Profile Picture
    2 on at

    Did we find a way to add members to a security group onprem?

  • prashtest Profile Picture
    12 on at

    Hi sbasar,

     

    Did you find a solution for this, if can you please share

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 889

#2
Valantis Profile Picture

Valantis 830

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard