Hello,
For a project, I would need to create a PowerApps application that allows to add members in a teams and to select in which private channels you want to add them. I succeeded in the first part to add a list of people to a team with the "AddMemberToTeams" function (see picture). But I can't add them to a specific private channel, do you have an idea?
Thanks in advance !
Paul
Office365Users.SearchUser({searchTerm:ComboBox1.SearchText, top:10})
MicrosoftTeams.AddMemberToTeam("47a41........",ComboBox1.Selected.Id,{owner:Checkbox1.Value})
Not sure, but are u able to list all private channels, and are the user/system account a member of the private channel?
The user thats adding the others to the private channel needs to be in that private channel.
The member you are adding then needs to be added to the team first the then private channel.
For a channel I don't think you can use the AddMemberToTeam, for example in PS it's Add-TeamChannelUser
Thanks for your answer, yes I can display the list of channels of the Teams (public and private):
with : MicrosoftTeams.GetChannelsForGroup("47a413......").value
And yes the user/system account a member of the private channel.
But I don't find a function as Add-TeamChannelUser in PowerApps and I have never used PS so i don't know how to do.
User | Count |
---|---|
158 | |
91 | |
67 | |
63 | |
63 |
User | Count |
---|---|
213 | |
157 | |
97 | |
86 | |
76 |