自定义选项卡的深层链接 - thread.skype vs thread.tacv2

Deep links to custom Tab - thread.skype vs thread.tacv2

我在 MS Teams 中执行在我的应用程序的自定义选项卡中创建的深层 link 时遇到问题。

我按照此处所述生成 link: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-linkshttps://teams.microsoft.com/l/entity/<appId>/<entityId>?webUrl=<entityWebUrl>&label=<entityLabel>&context=<context>的格式)

虽然它在环境 A 中工作正常: 例如 https://teams.microsoft.com/l/entity/9263e4c8-.....-48293cfca89a/111-222?context={"channelId":"19:xxxxxx@thread.skype"}

它在环境 B(同一个应用程序,另一个租户)中不起作用 - 它打开了正确的团队频道,但不是选项卡。 https://teams.microsoft.com/l/entity/9263e4c8-.....-48293cfca89a/555-666?context={"channelId":"19:xxxxxx@thread.tacv2"}

我注意到 channelId 中的 thread.skype 与 thread.tacv2,这会有所不同吗?我是否缺少一些重要的查询参数?我仔细检查了 appId、entityID,它们匹配。

升级清单版本似乎解决了这个问题 (1.5 -> 1.7)

"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json",
"manifestVersion": "1.7",

1.7 链接按预期工作