Skip to main content
Community site session details

Community site session details

Session Id : LoOZ2pU8eJU9EaRC/ORnUS
Power Automate - General Discussion
Unanswered

Add Team Members from Comma separated string

Like (0) ShareShare
ReportReport
Posted on 12 Nov 2021 06:32:49 by 502

Hello, 

i want to add Team members to a team. Multiple Team members tho. My Variable for the Teams members looks like this:

test@email;Test2@email;test3@email   

 

and so on. Is this Possible with a string? How can i achieve this otherwise.

 

Thanks in advance!

  • VJR Profile Picture
    7,635 on 12 Nov 2021 at 09:07:52
    Re: Add Team Members from Comma separated string

    Okay, just in case that approach has any issue OR something for future reference for some other purpose.

    You can use a Split expression by a delimiter (in your case semicolon) then the "for each" will give individual items of the string.

  • niklasjegg Profile Picture
    502 on 12 Nov 2021 at 09:00:15
    Re: Add Team Members from Comma separated string

    Hi @VJR 

     

    i have thought of another solution that i just came up with.

     

    i am Creating a Collection from my person combobox.selecteditems

    I am am patching this collection to my SP list multi select person column.

    after that i am applying a for each loop to add each team members email .

     

    i think this will work i was just about to test it

  • VJR Profile Picture
    7,635 on 12 Nov 2021 at 08:57:33
    Re: Add Team Members from Comma separated string

    Hi @niklasjegg ,

     

    Are you able to split the string by semicolon ; where you will get separate members and then add them one by one?

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete