3
votes

I want to open a link in the static tab from a bot conversation. I used deep linking for this and created a link like https://teams.microsoft.com/l/entity/{TeamsAppId}/{TeamsTabId}?webUrl={myURL}.

The problem is that it opens the URL first in the browser asking with which app to open it with. Then, I have to click "Open in Microsoft Teams" and it opens it in the MS Teams tab.

How can I get rid of this and open the URL directly in the tab?

The manifest part that creates the static tab is

"staticTabs": [{
    "entityId": "com.my.tab",
    "name": "MyTab",
    "contentUrl": "https://dev.my.com/#/start",
    "scopes": [ "personal" ]
}],

In the example above, TeamsTabId is com.my.tab.

4
I'm reaching out to the Teams developer group to see if I can get some help for you on this one. Does the same/similar link work fine (w/o the hop to the browser) outside of a bot conversation?Dana V
try this way. its working for me teams.microsoft.com/l/entity{TeamsAppId}/{TeamsTabId}?msLaunch=true&enableMobilePage=true&suppressPrompt=true&webUrl=google.comMurali

4 Answers

4
votes

Related to this annoying feature, is Outlook Microsoft Teams links first opening in a browser tab. Anyone coming here please add your vote to the uservoice request to remove that: uservoice

1
votes

Deep links in bot conversations only work from card buttons today, not the text. We will fix that at some point but we don't have a date to share.

0
votes

If you open these links from within Teams, it does not show the intermediate browser page (which we call a launcher page). But if you open it from a web page or an email message for example, you will see the launcher page.

Deep links work across all devices but there’s no way to avoid the intermediate launcher page on Windows/Mac.

0
votes

Instead of https, try replacing it with msteams. It will directly open in MS-Teams app. When you use msteams prefix, instead of https, the prompt menu will show like : enter image description here