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

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

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,873)