Cannot open Teams Calendar with deeplink on mobile app

Copper Contributor

Hello,

 

I am looking to navigate from a team app to the teams calendar via a deeplink on mobile.

 

Currently, I use directly the url: https://teams.microsoft.com/_#/calendarv2 with the SDK's microsoftTeams.app.openLink method.

No problem to access the calendar from this link on browser or desktop application, but on mobile the redirection is to a download link of the teams app.

 

Does anyone know the right way to do it or link to a doc?

 

Thanks in advance !

1 Reply

@YoannM -  We have tested your scenario and able to repro your issue. This is by design behavior. If the Teams app is running within the host where the deep link is targeted, your app will open directly within the host. However, if the Teams app is running in a different host from where the deep link is targeted, the app will first open in the browser.

Ref Doc: Deep link to an application - Teams | Microsoft Learn

Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.