Generate deep links to file in channel

javier molinas 6 Reputation points
2022-08-09T13:07:17.377+00:00

Hello,
We are creating a deep link to file in a Microsoft Teams channel.
The deep link doesn't work for docx, ppt, pptx among, others. Seems like office docs don't work.
We are following the documentation here: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links?tabs=teamsjs-v2#generate-a-deep-link-to-a-chat
The link format is this one: https://teams.microsoft.com/l/file/<fileId>?tenantId=<tenantId>&fileType=<fileType>&objectURL=<objectURL>&baseUrl=<baseURL>&serviceName=<Name>&threadId=<threadId>&groupId=<groupId>
Another problem we have is that the links don't work on mobile devices (Android and iOS).
Any suggestion?
Thanks in advance.

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,809 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.