cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
philatbball
Frequent Visitor

Extrapolating All Teams in our organization

I need to build an app that shows all Teams in our organization in a PowerApps list.   So, I can get the GroupId of that team and run a flow to run a Azure Automation to selectively delete that team.

 

Thoughts?

2 ACCEPTED SOLUTIONS

Accepted Solutions
PowerAddict
Super User
Super User

Hi,

You can use the Teams connector to get the list of all teams. Here is some info about various functions related to the Teams connector:

http://ludovicperrichon.com/powerapps-how-to-interact-with-teams/#GetAllTeams

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

View solution in original post

v-xida-msft
Community Support
Community Support

Hi @philatbball ,

Based on the needs that you mentioned, I think the MicrosoftTeams.GetAllTeams().value function could achieve your needs.

 

I have made a test on my side, please consider take a try with the following workaround:

Add a Dropdown control in your app, then set the Items property to following:

MicrosoftTeams.GetAllTeams().value

then set the Value property to displayName column. If you want to get the id value of the selected Team, please take a try with the following formula:

Dropdown1.Selected.id

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
PowerAddict
Super User
Super User

Hi,

You can use the Teams connector to get the list of all teams. Here is some info about various functions related to the Teams connector:

http://ludovicperrichon.com/powerapps-how-to-interact-with-teams/#GetAllTeams

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

View solution in original post

v-xida-msft
Community Support
Community Support

Hi @philatbball ,

Based on the needs that you mentioned, I think the MicrosoftTeams.GetAllTeams().value function could achieve your needs.

 

I have made a test on my side, please consider take a try with the following workaround:

Add a Dropdown control in your app, then set the Items property to following:

MicrosoftTeams.GetAllTeams().value

then set the Value property to displayName column. If you want to get the id value of the selected Team, please take a try with the following formula:

Dropdown1.Selected.id

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,765)