问题
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