Updates from: 06/01/2024 05:25:52
Service Microsoft Docs article Related commit history on GitHub Change details
platform Deep Link Application https://github.com/MicrosoftDocs/msteams-docs/commits/main/msteams-platform/concepts/build-and-test/deep-link-application.md
You can configure deep links to browse within your app in the following ways:
### Configure deep link to browse within your app manually
+> [!NOTE]
+> In Microsoft Windows, Teams can't handle deep links exceeding 2048 characters due to the `INTERNET_MAX_URL_LENGTH` limit in Windows ShellExecuteEx API. When creating a deep link, ensure that the path to the Teams client and other metadata fit within this limit. If your deep link contains large amounts of data, include a unique identifier in the link that your app can use to fetch the necessary data from your backend service.
+ Use the following format for a deep link in a bot, connector, or message extension card: `https://teams.microsoft.com/l/entity/<appId>/<entityId>?tenantId=<tenantId>&webUrl=<entityWebUrl>&label=<entityLabel>&context=<context>&openInMeeting=false`
The query parameters are:
>`https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/tasklist123?webUrl=https://tasklist.example.com/123/456&label=Task 456?context={"chatId": "17:b42de192376346a7906a7dd5cb84b673@thread.v2","contextType":"chat"}` > [!IMPORTANT]
+>
> * Ensure that all the query parameters and the white spaces are properly URI encoded. Following is an example of URI encoded query parameters: > > ```javascript