How to get the channel id via PowerApps Form that is located in the Teams Tab

%3CLINGO-SUB%20id%3D%22lingo-sub-951887%22%20slang%3D%22en-US%22%3EHow%20to%20get%20the%20channel%20id%20via%20PowerApps%20Form%20that%20is%20located%20in%20the%20Teams%20Tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-951887%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20design%20a%20PowerApps%20form.%20I%20would%20like%20to%20put%20it%20into%20any%20channel%20tab.%20I%20will%20show%20the%20related%20information%20of%20the%20current%20channel%20from%20SharePoint%20via%20this%20PowerApps%20form.%20How%20can%20I%20get%20the%20channel%20Id%20and%20send%20it%20to%20the%20PowerApps%20form%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-951887%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPower%20Apps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETab%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-954638%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20the%20channel%20id%20via%20PowerApps%20Form%20that%20is%20located%20in%20the%20Teams%20Tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-954638%22%20slang%3D%22en-US%22%3EYou%20Can't%20really%20do%20this%20dynamically%20very%20easily%2C%20but%20if%20you%20ware%20adding%20the%20form%20to%20a%20specific%20channel%20you%20could%20make%20use%20of%20URL%20parameters.%20But%20the%20issue%20is%20Teams%20tab%20doesn't%20support%20parameters%20currently.%20You%20could%20probably%20link%20the%20tab%20using%20website%20tab%2C%20to%20a%20powerapp%20directly%20and%20then%20pass%20in%20parameters%20to%20your%20app%20to%20achieve%20this%20but%20you%20might%20end%20up%20with%20a%20login%20prompt%20possibly%20on%20that%20website%20tab%20(%20you%20would%20need%20to%20test%20that%20out).%20%3CBR%20%2F%3E%3CBR%20%2F%3Echeck%20out%20this%20article%20on%20using%20parameters%2C%20you%20can%20pass%20the%20Name%20or%20the%20channel%20or%20whatever%20you%20want%20in%20the%20URL%20if%20the%20website%20tab%20will%20work%20for%20you%2C%20then%20you'll%20be%20able%20to%20do%20it%20with%20this.%20%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fblog.kloud.com.au%2F2017%2F10%2F17%2Fhow-to-pass-parameters-into-a-powerapp%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.kloud.com.au%2F2017%2F10%2F17%2Fhow-to-pass-parameters-into-a-powerapp%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-957511%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20the%20channel%20id%20via%20PowerApps%20Form%20that%20is%20located%20in%20the%20Teams%20Tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-957511%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EI%20know%20the%20param%20feature%20of%20PowerApps.%20If%20I%20use%20the%20PowerApps%20form%20with%20a%20specific%20channel%20Id%20parameter%2C%20I%20can%20not%20make%20this%20form%20dynamic.%20So%20It%20wouldn't%20work%20for%20me.%20Thanks%20for%20your%20suggestion.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1808680%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20get%20the%20channel%20id%20via%20PowerApps%20Form%20that%20is%20located%20in%20the%20Teams%20Tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1808680%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242533%22%20target%3D%22_blank%22%3E%40erdi%20kudu%3C%2FA%3E%26nbsp%3BI%20know%20this%20is%20an%20older%20thread%20but%20wanted%20to%20let%20you%20know%20that%20passing%20Teams%20Context%20parameters%20to%20embedded%20Power%20Apps%20is%20now%20supported.%26nbsp%3B%20I%20have%20a%20video%20that%20highlights%20how%20to%20get%20some%20of%20these%20properties%20like%20the%20Group%20ID%20and%20Channel%20ID%20and%20use%20them%20in%20your%20embedded%20Power%20Apps%20to%20do%20deep%20linking%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FTwrwTAa1ePQ%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2FTwrwTAa1ePQ%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I will design a PowerApps form. I would like to put it into any channel tab. I will show the related information of the current channel from SharePoint via this PowerApps form. How can I get the channel Id and send it to the PowerApps form?

3 Replies
Highlighted
You Can't really do this dynamically very easily, but if you ware adding the form to a specific channel you could make use of URL parameters. But the issue is Teams tab doesn't support parameters currently. You could probably link the tab using website tab, to a powerapp directly and then pass in parameters to your app to achieve this but you might end up with a login prompt possibly on that website tab ( you would need to test that out).

check out this article on using parameters, you can pass the Name or the channel or whatever you want in the URL if the website tab will work for you, then you'll be able to do it with this.
https://blog.kloud.com.au/2017/10/17/how-to-pass-parameters-into-a-powerapp/

Highlighted

Hi @Chris Webb ,

I know the param feature of PowerApps. If I use the PowerApps form with a specific channel Id parameter, I can not make this form dynamic. So It wouldn't work for me. Thanks for your suggestion.

Highlighted

@erdi kudu I know this is an older thread but wanted to let you know that passing Teams Context parameters to embedded Power Apps is now supported.  I have a video that highlights how to get some of these properties like the Group ID and Channel ID and use them in your embedded Power Apps to do deep linking:

https://youtu.be/TwrwTAa1ePQ

PowerApps #MicrosoftTeams #DeepLinking Are you using Power Apps inside of Microsoft Teams? Have you wished you could create a link that takes you directly t...