MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
277 stars 500 forks source link

Deep Links for sideloaded apps are broken in new Teams client #10662

Open manuelsidler opened 3 months ago

manuelsidler commented 3 months ago

Steps to reproduce

We're using a deep link for our sideloaded app to open the home tab directly in Teams: https://teams.microsoft.com/l/entity/{manifest-id}/home?context={{"subEntityId":"12345"}}

Expected behavior

We'd expect the Teams client to open the home tab within our app.

Actual behavior

When using the deep link in the browser, the new Teams client does open the app and the targeted tab. At least it seems like, it does. But the navigation on the left side is not active:

image

When clicking on the home tab, the "real" app gets loaded and the app is active on the left side:

image

You can also see in the navigation menu that the deep link loaded an unknown app:

image

It's even more clear if you extend your manifest with a new feature, eg. a bot. The loaded app via deep link doesn't show the bot tab:

image

And again, as soon as you click on a tab, the "real" app gets loaded and the bot tab is visible:

image

The issue is not related to a specific manifest. We also tried another app and the behaviour was the same.

This bug appears on the new Teams client on Mac (Version 24046.2813.2770.1094) as well as on Windows (Version 24033.813.2773.520). The deep link works fine on classic Teams.

Error details

No response

manuelsidler commented 2 months ago

We made another test and uploaded the manifest to our tenant app catalog. The behaviour with the external id is the same. It works properly with the internal id.

Meghana-MSFT commented 2 months ago

Thank you for reporting this, we will check this and get back to you.

Update: We are also able to repro this at our end. We will check internally and get back to you.

Teams Classic :

https://github.com/MicrosoftDocs/msteams-docs/assets/81138249/3d91f622-141b-4a2e-9568-9950cea9afbe

New Teams :

https://github.com/MicrosoftDocs/msteams-docs/assets/81138249/6bb39fb3-9ecf-4162-bbd7-21e881a50baa

Meghana-MSFT commented 2 months ago

We raised a bug for this, we will keep you posted on the updates. Thank you.