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

Notifications

Announcements

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

Hello, 

 

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

 

Thanks, 

 

Charline

Categories:
I have the same question (0)
  • 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
    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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard