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

Copper Contributor

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-executi...

 

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?

Screenshot 2024-05-08 at 11.16.12.pngScreenshot 2024-05-08 at 11.18.17.pngScreenshot 2024-05-08 at 11.20.00.png

3 Replies

Hello @Yuankun_Li ,
Thanks for raising your issue. We will check this at our end and will update you accordingly.

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

@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 ${appid} I used the id in the manifest.json, is it right?