cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
philatbball
Level: Powered On

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
Super User
Super User

Re: Extrapolating All Teams in our organization

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

Community Support Team
Community Support Team

Re: Extrapolating All Teams in our organization

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
Super User
Super User

Re: Extrapolating All Teams in our organization

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

Community Support Team
Community Support Team

Re: Extrapolating All Teams in our organization

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

Super User
Super User

Re: Extrapolating All Teams in our organization

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,139)