https://teams.microsoft.com/l/entity/<appId>/<entityId>?webUrl=<url>&label=<label>&context=<encoded-context>&groupId=<groupId>&tenantId=<tenantId>
{
"subEntityId": "some-value",
"canvasUrl": "https://example.com/teams/page?param=value",
"channelId": "19:xxxxx@thread.tacv2"
}
Summary
When a deep link targeting a channel tab includes
subEntityIdin thecontextparameter, the tab receivescontext.page.subPageIdcorrectly only if the link is clicked from a different chat/channel. If the same deep link is clicked from within the target channel's own conversation,subPageIdisundefinedon both desktop and web clients. Mobile (iOS/Android) works correctly in all cases.Environment
Deep link format
Where
contextis:Reproduction steps
subPageIdon load:subEntityIdin context) as a message in channel A's conversation.subPageIdis populated.subPageIdisundefined.subPageIdis populated.Expected behavior
context.page.subPageIdshould contain thesubEntityIdvalue from the deep link regardless of where the link is clicked from.Actual behavior