Deep links in Microsoft Teams are URLs that contain unique identifiers for specific channels, chats, or tabs within the application. By clicking on a deep link, users can directly navigate to specific tabs within channels or chat conversations. For more information how to use deep links you can read Configure deep links article.
In this article, we'll explore how to use deep links for navigating to specific tab in your Teams using Send message M365 action.
To create a deep link for a specific tab within a channel, follow these steps:
- Open Microsoft Teams and navigate to the channel where the tab is located.
- Right-click on the tab you want to create a deep link for and select "Copy link to tab" from the context menu.
- Create a list on SharePoint (i.e SolutionSettings) and paste the copied link into a 'Single line of text' column or you can use it directly in the action. A link to this tab looks like this:
https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.planner/_djb2_msteams_prefix_495254810?context=%7B%22channelId%22%3A%2219%3Af7SRMUNESrNJglLNJHfYk1XDYQycvNc7gji9JHN-oXY1%40thread.tacv2%22%7D&tenantId=61d1b9ce-67fc-4a32-abaa-a7924ac4a1c5
- Open Solution Studio, create Scheduled or Triggered Action on the list where you saved the link to the tab. Add Send message action and use this column in <a> tag.
- As a result, you will receive a message with link to open a specified tab