Microsoft plans to replace Skype for Business with Microsoft Teams. Hence, it would be interesting to leverage how we can use PowerApps, SharePoint and Microsoft Teams working together seamlessly.
Here I have done a simple video that will give you a step by step guide on how I integrated all three of them.
An overview of the development effort:-
1) Create a simple PowerApps Canvas application in Phone Format.
2) Create 2 Data resources (One for SharePoint List named Fruit Stall and one for Microsoft Teams)
3) Create 2 label (One for SharePoint and One for Microsoft Teams)
4) Create a dropdown list (label as channelName), linking to SharePoint list named Fruit Stall Title Field
5) Create a dropdown list (label as listTeamGroups), add the formula < MicrosoftTeams.GetAllTeams().value > to list all the avaulable Microsoft Teams Group
6) Create a button to execute this PowerApps, add this formula < et(channelResponse, MicrosoftTeams.CreateChannel(listTeamGroups.SelectedText.id, channelName.Text)) >
7) Save and run this application now. You can verify the result at Microsoft Teams.
In building a Powerapps with Microsoft Teams we can use these common commands to either
list all of the available groups < MicrosoftTeams.GetAllTeams().value >
or to create a new channel under a known group < Set(channelResponse, MicrosoftTeams.CreateChannel(groupdId, displayName)) >
or to post into a channel < MicrosoftTeams.PostMessageToChannel(MicrosoftTeams.PostMessageToChannel(groupId, channelLd, rootMessage)) >
More details can be found here https://docs.microsoft.com/en-us/connectors/teams/
Hope the information provided are concise and understandable. If you need further information, please do leave me a comment.