Forum Discussion

Yuankun_Li's avatar
Yuankun_Li
Copper Contributor
May 08, 2024

How to highlight app icon when open a deep link to Teams app static tab by adaptive card

Using the adaptive card to open a deep link to Teams app static tab by following https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links-execution-handling?tabs=teamsjs-v2#adaptive-card,

 

Open Teams app tab successfully, but the app icon on the left sidebar is not highlighted.

The deep link is like: 

https://teams.microsoft.com/l/entity/${appid}/${entityId}?webUrl=${contentUrl}&context=${context}
 

But I found other Teams app like PowerBI, can highlight the app icon by open deeplick of adaptive card, how to do it?

5 Replies

  • Yuankun_Li 
    Can you please check the configuration of your deeplink, also are you observing this behavior in Teams Web or only desktop client?

    • Yuankun_Li's avatar
      Yuankun_Li
      Copper Contributor

      Vaibhav-MSFT 

      Thanks so much for your reply~
      This behavior happens both in Teams Web and desktop client.

       

      And I checked the ${appid} and the ${entityId} are both correct~

      Open Teams app tab successfully with the right link, but the app icon on the left sidebar is not highlighted.
      The deep link is like:
      https://teams.microsoft.com/l/entity/${appid}/${entityId}?webUrl=${contentUrl}&context=${context}

      This app i upload to our teams organization,

      For the https://teams.microsoft.com/l/entity/${appid}/${entityId}?webUrl=${contentUrl}&context=${context I used the id in the manifest.json, is it right? 

Resources