team/{teamid}/installedApps 扩展为 teamsAppDefinition 显示不正确的版本不正确、版本、teamid、team

2023-09-06 18:00:31 作者:如梦初醒

我正在考虑使用 Microsoft Graph API 来获取该团队中已安装应用的版本号.文档建议为此调用/team/{teamid}/installedApps.文档(列出团队中的应用)

I was thinking of using Microsoft Graph API to get the version number of an installed app within that team. Documentation suggests calling /team/{teamid}/installedApps for that. Documentation (List apps in team)

我的问题是teamAppDefinition 包含版本号,但它与团队中安装的版本不匹配,而是与商店中的版本匹配.

My issue is that teamsAppDefinition contains the version number but it does not match the installed version on the team but rather what the version is in the store.

团队应用版本应为:1.3.2商店应用版本为:1.3.3

Team app version should be: 1.3.2 The store app version is: 1.3.3

我的请求是这样的:https://graph.microsoft.com/v1.0/teams/{teamId}/installedApps?$expand=teamsApp,teamsAppDefinition返回:

My request is like this: https://graph.microsoft.com/v1.0/teams/{teamId}/installedApps?$expand=teamsApp,teamsAppDefinition Returns:

"teamsAppDefinition": {
        "id": "MzYxZWU4MjItZTAyMC00ZTA2LWFmYjUtNzFlNjBhODVmZDUzIyMxLjMuMw==",
        "teamsAppId": "{teamsAppId}",
        "displayName": "{AppName}",
        "version": "1.3.3"
}

前往 Microsoft Teams 中的团队并进入管理团队"时我可以看到该应用需要更新,因此它与最新版本不同.

When going to the team within Microsoft Teams and go into "Manage Team" I can see that it the app needs updating so it's not the same version as the latest one.

问候,奥斯卡

推荐答案

我尝试使用我的 Teams 应用重现该问题,但无法在 Team 应用和 Store 应用的版本中找到任何不匹配的地方已安装的应用程序.可能是我的应用程序都已更新,因此无法重现.我仍在尝试在其他具有旧更新的机器上复制它.一旦我们最终重现该问题,我们会及时通知您.谢谢你:).

I tried to reproduce the issue with my Teams App, but was unable to find a single mismatch in the versions of the Team App and the Store app, for any of the installed apps. It might be that my apps are all updated, hence unable to reproduce. I am still trying to repro it in other machines with old updates. Will keep you posted, once we reproduce the issue on our end. Thank you :).