简体   繁体   中英

Is there any way to know which version of custom tab app user is using in teams?

We have a custom tab app installed in teams. Recently we've updated the manifest file where we've put the version as 2.1.0. Now my question is if there are any ways to know which version of the app the user is using(are they using the latest version or the old version.)

We have Graph API to List apps installed for user and Get installed app for user .

Use below Graph API to Get the names and other details of apps installed for the user. It includes the version as well.

GET https://graph.microsoft.com/v1.0/users/{user-id | user-principal-name}/teamwork/installedApps?$expand=teamsAppDefinition

Use below Graph API to Get the name and other details of the app installed for the user

GET https://graph.microsoft.com/v1.0/users/{user-id | user-principal-name}/teamwork/installedApps/{app-installation-id}=?$expand=teamsAppDefinition

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM