Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How can i add multiple users into access team template using 'perform bound action' in power automate?

Posted on by 190

I am adding users into an access team template using a bound action in power automate.  But It seems i can only remove one user per bound action.  How can i remove multiple users per bound action?  I have tried seperating each user with a colon but the flow gave me an error.  So now I had to add multiple bound actions, one per user in the same flow. 

  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: How can i add multiple users into access team template using 'perform bound action' in power automate?

    Hi bp3378,

    Some questions.

    Add or Remove? Or both? Are you using AddUserToRecordTeam/RemoveUserFromRecordTeam action in the power automate?

    You populated static guid value in the Row ID?

    Maybe you can use dynamic value not static user guid for the Row ID in the action:

    pastedimage1669878478040v1.png

    For avoiding adding multiple bound actions, you can try to use Array to store a static set of user GUID values, then loop through it to perform the binding action

    My Example:

    pastedimage1669881964167v7.png

    (1)Initialize Variable:

    --Use guid of users you need

    pastedimage1669881280048v3.png

    (2)Apply to each:

    pastedimage1669881888608v5.png

      a)Perform bound action into it:

    pastedimage1669881927308v6.png

    (3)Test successfully:

    pastedimage1669882023296v8.png

    *To remove a user, simply select RemoveUserFromRecordTeam and use the same syntax.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans