Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CF/jRPpO6K0AJlKso1AZ9h
Power Automate - General Discussion
Answered

Add member to a security group via Power Automate

Like (0) ShareShare
ReportReport
Posted on 31 May 2022 09:56:10 by

Hello, 

 

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

 

Thanks, 

 

Charline

Categories:
  • prashtest Profile Picture
    12 on 10 Jan 2024 at 09:04:09
    Re: Add member to a security group via Power Automate

    Hi sbasar,

     

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

  • jag7674 Profile Picture
    2 on 07 Feb 2023 at 22:55:38
    Did we find a way to add members to a security group onprem?

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

  • sbasar Profile Picture
    2 on 12 Oct 2022 at 13:23:03
    Re: Add member to a security group via Power Automate

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

     

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on 31 May 2022 at 12:34:40
    Re: Add member to a security group via Power Automate

    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

  • Community Power Platform Member Profile Picture
    on 31 May 2022 at 12:26:20
    Re: Add member to a security group via Power Automate

    @Shujaath_Khan

     

    How I found the ID group of my security group ?

  • Verified answer
    Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on 31 May 2022 at 11:29:06
    Re: Add member to a security group via Power Automate

    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 31 May 2022 at 11:21:47
    Re: Add member to a security group via Power Automate

    @Shujaath_Khan

     

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

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on 31 May 2022 at 10:41:27
    Re: Add member to a security group via Power Automate

    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 31 May 2022 at 10:15:07
    Re: Add member to a security group via Power Automate

    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 31 May 2022 at 10:11:27
    Re: Add member to a security group via Power Automate

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,011 Most Valuable Professional

Leaderboard