web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot pass parameter ...
Power Apps
Answered

Cannot pass parameter to PowerApp inside Teams Tab

(1) ShareShare
ReportReport
Posted on by 636

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).

Categories:
I have the same question (0)
  • Verified answer
    v-monli-msft Profile Picture
    on at

    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

  • aprildunnam Profile Picture
    704 on at

    Hi @jhall - I just posted a tutorial on how to pass parameters from a Teams chat to a pinned Power Apps in Teams or a tab that might be helpful for this:

    https://youtu.be/TwrwTAa1ePQ

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard