Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Form flow - add user to multiple Teams (that the user opted for)

(0) ShareShare
ReportReport
Posted on by 14

Hello.

I built a form with 20 Teams groups, each with 2 selection options for people outside my organization (the general channel will be automatic, the Core one will be manual).

I have built the flow, it creates the User correctly, but I do not know how to create the condition for each Team so the user is added exclusively to the Teams they opted for. Please help. In this moment users they get added to ALL Teams I create conditions for.

Thank you so much!

 

Flow.png

 

Connection.png

 

Form.png

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Form flow - add user to multiple Teams (that the user opted for)

    @AncaP  are these external guest users already added to azure active directory, or they wont be added to active directory before they fill up the form. I think this video may help you https://www.youtube.com/watch?v=cKTPj206HnY

     

    Let me know if you have further questions on this

  • AncaP Profile Picture
    14 on at
    Re: Form flow - add user to multiple Teams (that the user opted for)

    Thank you, @JisungHan 

     

    I did that successfully. One more question and I will close the thread.

    How can I give a new external user, via Form Flow, easy access to the new Teams they selected. I need 2 scenarios, if they are Teams users with their own organization and if they are not Teams users. How can I Send an email to a new added user with links and guidelines to log into the Teams they selected?

     

    Thank you

    Anca

  • Verified answer
    JisungHan Profile Picture
    on at
    Re: Form flow - add user to multiple Teams (that the user opted for)

    Hi @AncaP ,

     

    You may use "Send Email (V2)" to send out a notification to the user who is added to the specific team:

    JisungHan_0-1615803662305.png

     

  • AncaP Profile Picture
    14 on at
    Re: Form flow - add user to multiple Teams (that the user opted for)

    Thank you for your reply, Anna!

    You can see the form in my print-screen above, what users select. I managed to solve by myself, please see the connection below (the title of the Form section is not equal to the Selection they make)...no idea why it is like this, but it works!

    BUT now I need to configure the automatic email a user received after being added to each Team they select...could you please help with that?

    Connection.png

     

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Form flow - add user to multiple Teams (that the user opted for)

    @AncaP  are users selecting the team name on the form? can you show a screenshot of how you are providing team names on the form? Also do you have access to premium connectors, if yes, then you can get team id from team name and further use team id in Add a member to a team., so that you dont have to use conditions in your flow for each time, if not, then let me know the how the user is selecting team in form, so that i know what format of data for team names will be provided in flow, to use the team name in condition.

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,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow