Use Deeplinking in Powerapps inside Teams to Navigate to another Screen in my Powerapp within teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1631740%22%20slang%3D%22en-US%22%3EUse%20Deeplinking%20in%20Powerapps%20inside%20Teams%20to%20Navigate%20to%20another%20Screen%20in%20my%20Powerapp%20within%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1631740%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20made%20an%20app%20in%20powerapps%20used%20to%20generate%20a%20request%20that%20is%20accessed%20and%20approved%20by%20different%20departments%20in%20a%20company.%20The%20app%20posts%20an%20adaptive%20card%20in%20the%20relevant%20departments%20Teams%20channel%20through%20flow%20when%20a%20new%20request%20is%20made%20and%20.%20The%20adaptive%20card%20contains%20a%20Deeplink%20Url%20which%20re-directs%20the%20concerned%20user%20of%20the%20relevant%20department%20directly%20to%20the%20screen%20intended%20for%20them%20in%20my%20app%20so%20they%20can%20fill%20a%20form%20and%20submit.%20This%20is%20done%20using%20the%20param()%20function.%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20i%20have%20added%20this%20powerapp%20in%20teams%20in%20a%20tab%20in%20the%20departments%20channels%20and%20when%20the%20user%20clicks%20the%20url%20%2C%20instead%20of%20redirecting%20the%20user%20to%20the%20screen%20in%20my%20app%20within%20teams%20the%20url%20insteads%20switches%20to%20the%20browser.%20I%20know%20we%20can%20get%20urls%20to%20tabs%20or%20apps%20within%20teams%2C%20but%20i%20do%20not%20see%20how%20these%20urls%20can%20be%20used%20to%20forward%20my%20parameters%20which%20the%20deeplink%20url%20uses%20for%20redirection.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20anybody%20has%20clues%20how%20to%20achieve%20this%20and%20allow%20the%20user%20to%20view%20the%20desired%20screen%20in%20my%20powerapp%20while%20still%20in%20teams%2C%20would%20appreciate%20the%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1631740%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPower%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1649623%22%20slang%3D%22en-US%22%3ERe%3A%20Use%20Deeplinking%20in%20Powerapps%20inside%20Teams%20to%20Navigate%20to%20another%20Screen%20in%20my%20Powerapp%20within%20te%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1649623%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F779906%22%20target%3D%22_blank%22%3E%40mustafafarooq%3C%2FA%3E%26nbsp%3B%2C%20We%20are%20trying%20this%20internally%20and%20will%20get%20back%20to%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have made an app in powerapps used to generate a request that is accessed and approved by different departments in a company. The app posts an adaptive card in the relevant departments Teams channel through flow when a new request is made and . The adaptive card contains a Deeplink Url which re-directs the concerned user of the relevant department directly to the screen intended for them in my app so they can fill a form and submit. This is done using the param() function.

Now i have added this powerapp in teams in a tab in the departments channels and when the user clicks the url , instead of redirecting the user to the screen in my app within teams the url insteads switches to the browser. I know we can get urls to tabs or apps within teams, but i do not see how these urls can be used to forward my parameters which the deeplink url uses for redirection.

If anybody has clues how to achieve this and allow the user to view the desired screen in my powerapp while still in teams, would appreciate the help.

3 Replies

@themustafafarooq , We are trying this internally and will get back to you.

@themustafafarooq - Are you using subEntityId from the Tab Context to pass additional information to your Tab? 
Also, are you facing issue (Opening in browser) when user clicks on Adaptive Card open URL button? 

@Wajeed-MSFT 


@Wajeed-MSFT wrote:

@themustafafarooq - Are you using subEntityId from the Tab Context to pass additional information to your Tab? 


No currently i am not using this as it is unclear to me still how to implement this with my powerapp. If you can share an example how to, i can try that out.

 

Also, are you facing issue (Opening in browser) when user clicks on Adaptive Card open URL button? 


i had not checked this before but after your reply i did, and so far i did not get any issue it navigated properly to my powerapp and the correct record opened as defined in the deeplink parameters.