Skip to main content
Community site session details

Community site session details

Session Id : 59c/rhkBw26k49Sj1EKgcP
Power Automate - Building Flows
Unanswered

Failed to add user to group

Like (0) ShareShare
ReportReport
Posted on 12 Jun 2024 04:06:08 by 315

Hi,

 

I am getting an error infrequently wherein the flows with the error  "One or more added object references already exist for the following modified properties: 'members' ". I am not sure why exactly this happens. Can someone guide me please ?

 

Prathameshpatka_0-1718165087796.png

 

  • Expiscornovus Profile Picture
    32,187 Most Valuable Professional on 12 Jun 2024 at 08:18:39
    Re: Failed to add user to group

    Hi @Prathameshpatka,

     

    The error suggests the user is already a member of the group. I can reproduce this error if I try to add an existing member to the group.

     

    alreadyexists.png

     

    My suggestion would be to check the membership first before you try and add the user. You can do this by using a Check group membership (v2) and Conditions actions.


    Below is an example

     

    1. Condition uses the below expression on the left

     

    length(outputs('Check_group_membership_(V2)')?['body/value'])

     

     

    checkmembershipfirst.png

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete