Hi,
In Power Apps I am trying pull all Microsoft Team Channels that the user has access to. Is there way to do this?
At the moment they only approach that seems feasible is get all the Teams that the user has access to, pull those in as a collection of tables (as there will are multiple channels per team) and then build a collection from this looking up the channels using MicrosoftTeams.GetChannelsForGroup().
Thanks,
Solved! Go to Solution.
Do you want to get all channels?
Set the following codes to OnStart property of app
Clear(ColAllChannels);ForAll(MicrosoftTeams.GetAllTeams().value,Collect(ColAllChannels,MicrosoftTeams.GetChannelsForGroup(id).value))
Set Items property of Gallery: ColAllChannels
Sik
Do you want to get all channels?
Set the following codes to OnStart property of app
Clear(ColAllChannels);ForAll(MicrosoftTeams.GetAllTeams().value,Collect(ColAllChannels,MicrosoftTeams.GetChannelsForGroup(id).value))
Set Items property of Gallery: ColAllChannels
Sik
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |