cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Continued Contributor
Continued Contributor

Cannot pass parameter to PowerApp inside Teams Tab

This is one of those that's got me really wondering what I'm not grok'ing.  

  • You can link to a PowerApp directly and pass along inline parameters: https://...&test=true
  • You can add a PowerApp Tab to a Channel in Teams (or similarly a link to a website the same as the item above)
  • You can create a link to the PowerApp Tab and post it back to said Team (and click/open the PowerApp within Teams)
  • (It appears that) You cannot send inline parameters via a MS Teams Tab link (that aren't expected)

I've looked through the Deep Link documentation and peeled apart the URL that Teams generates for an App.  However, there just doesn't appear to be a way I can manipulate that URL to include dynamic parameters.

Adding it into the value of the "canvasUrl" that is passed to Teams as an extra parameter to the defaults just gets it ignored. Worth noting, the "canvasURL" is encoded but once you decode it, it essentially reads as:  "https:\\apps.powerapps.com\play\providers\Microsoft.PowerApps\apps\your_app_id?screenColor=rgba(0, 176, 240, 1)&source=teamstab&locale={locale}".  Dropping an encoded variable into the front/middle/end of this doesn't work and the variable just gets ignored (but everything else works fine).

There are several entries into the Teams UserVoice requesting this, so it seems like it can't be done.  However, I wanted to ask here before I just punt and open things outside of Teams (via a direct link to the PowerApp vs. the PowerApp hosted within a Teams-Channel-Tab).

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Cannot pass parameter to PowerApp inside Teams Tab

Hi @jhall ,

 

I agree that this cannot be achieved so far. Since the issue should be on the Teams side, you could vote and comment in the UserVoice channel.

 

Regards,

Mona

Community Support Team _ Mona Li
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

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Cannot pass parameter to PowerApp inside Teams Tab

Hi @jhall ,

 

I agree that this cannot be achieved so far. Since the issue should be on the Teams side, you could vote and comment in the UserVoice channel.

 

Regards,

Mona

Community Support Team _ Mona Li
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

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,866)