cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AncaP
New Member

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

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

3 ACCEPTED SOLUTIONS

Accepted Solutions
annajhaveri
Community Champion
Community Champion

@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.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

JisungHan
Community Support
Community Support

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

 

View solution in original post

annajhaveri
Community Champion
Community Champion

@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

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
annajhaveri
Community Champion
Community Champion

@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.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
AncaP
New Member

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

 

JisungHan
Community Support
Community Support

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
New Member

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

annajhaveri
Community Champion
Community Champion

@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

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,597)