MS Teams apps added though the graph are sometimes deleted

萝らか妹 提交于 2020-12-13 03:11:10

问题


I have an issue concerning MS Teams when using the Graph API. This problem might be difficult to reproduce since it does not happen all the time. Basically, we have a test set up that uses a source team that has a couple of apps and creates a copy of that team. To do that with must add the same apps as the source team so we use:

https://graph.microsoft.com/v1.0/teams/{id}/installedApps

Right after the POST, which return a 201 Created which is successful if we look at the doc, we use the GET on the same endpoint to make sure the app was added, and it is there.

At the end of the test we get all the apps to make sure everything got copied over. Sometimes, we are missing one app and it is never the same one. I've tried with the beta and v1.0 endpoints and the same issue arise. This test works most of the time, but let's say on 5 runs, it will fail once. This makes this part of the copy very unreliable.

来源:https://stackoverflow.com/questions/62596532/ms-teams-apps-added-though-the-graph-are-sometimes-deleted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!