Deeplink Navigation Issue in Published MS Teams Custom App on Mobile Devices (iOS & Android)
Description:
We are experiencing an issue with navigation in our published MS Teams custom app. The app has a Tab with personal scope and a Bot. The problem arises for a few users (mostly on iOS devices) when they navigate to the Tab from the chat section of the Bot by clicking on a button that deeplinks to the Tab.
Expected Behavior:
The button click should trigger the deeplink and open the designated Tab and the specific page within the Tab in MS Teams app.
Actual Behavior:
iOS devices display an error message “Link not Supported. You can’t open this link on the mobile app. Please open it on the desktop or web app.”
Android devices successfully open the Tab, but navigate to the default home page instead of the intended page within the Tab.
Error Message:
Details:
The navigation works perfectly on the Desktop App and Web Browser.
Sample Deeplink Used:
let obj = {
“params”: paramsObj,
“subdomain”: subdomain,
“pageRoute”: “home”
};
let subEntityId = {
“subEntityId”: obj
};
var encodedWebUrl = “”;
var encodedContext = encodeURI(JSON.stringify(subEntityId));
let tabUrl = “https://teams.microsoft.com/l/entity/” + manifestObj.id + “/agentTabId?webUrl=”
+ encodedWebUrl + “&label=entityLabel&context=” + encodedContext;
cardObj = {
…
{
title: ‘Open in Tab’,
type: ‘Action.OpenUrl’,
url: tabUrl,
}
…
}
Request:
We need assistance in resolving this issue to ensure smooth navigation for all users, especially on iOS devices. Additionally, we need guidance on ensuring that Android devices navigate to the correct page within the Tab rather than the default home page.
Thank you for your support.
Description:We are experiencing an issue with navigation in our published MS Teams custom app. The app has a Tab with personal scope and a Bot. The problem arises for a few users (mostly on iOS devices) when they navigate to the Tab from the chat section of the Bot by clicking on a button that deeplinks to the Tab. Expected Behavior:The button click should trigger the deeplink and open the designated Tab and the specific page within the Tab in MS Teams app.Actual Behavior:iOS devices display an error message “Link not Supported. You can’t open this link on the mobile app. Please open it on the desktop or web app.”Android devices successfully open the Tab, but navigate to the default home page instead of the intended page within the Tab.Error Message:Details:The navigation works perfectly on the Desktop App and Web Browser.Sample Deeplink Used: let obj = {
“params”: paramsObj,
“subdomain”: subdomain,
“pageRoute”: “home”
};
let subEntityId = {
“subEntityId”: obj
};
var encodedWebUrl = “”;
var encodedContext = encodeURI(JSON.stringify(subEntityId));
let tabUrl = “https://teams.microsoft.com/l/entity/” + manifestObj.id + “/agentTabId?webUrl=” + encodedWebUrl + “&label=entityLabel&context=” + encodedContext;
cardObj = {
…
{
title: ‘Open in Tab’,
type: ‘Action.OpenUrl’,
url: tabUrl,
}
…
}Request: We need assistance in resolving this issue to ensure smooth navigation for all users, especially on iOS devices. Additionally, we need guidance on ensuring that Android devices navigate to the correct page within the Tab rather than the default home page. Thank you for your support. Read More