Teams' JavaScript SDK's app.openLink unable to execute Office's native app URLs

Prakash Verma 55 Reputation points
2024-02-21T11:59:35.5966667+00:00

We are using TeamsJS SDK's app.openLink function to open the Office files in the native app. The URLs that we are using is a valid URL which follows Office URI Schema. This is working as expected if we open the personal app in Teams. But if we open the same Teams' personal app in Outlook then the same function is throwing following error for same URL.

Error:

Unrecognized deep link format: ms-word:ofe|u|<SHAREPOINT_URL_OF_WORD_FILE>

Reference:

  1. Personal tabs and messaging extensions in Outlook and Microsoft 365 app
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,245 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,063 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.