Is provisioning Teams teams and channels using the Graph API supposed to be unreliable?

Ian Simpson 26 Reputation points
2024-11-14T20:10:14.8466667+00:00

In our application we offer a Teams integration feature that will create teams and channels within users' own Teams environment for file sharing and scheduling. Most of the time it works fine (albeit very slowly), but from time to time the channel will get stuck returning a 404 error when requesting the folder for the channel. The error message reads "Folder location for this channel is not ready yet, please try again later.". We retry folder access for 15 minutes and then inform the user that channel provisioning has failed, but that they can retry. One of our testers has waited overnight, and still the channel is unready.

We have raised this issue with MS support before and their standard response is that it can take up to 24 hours for resources to be provisioned, which seems pretty wild. No one would use a system that had that high of latency for simple create operations. Also, teams and channels are provisioned within seconds when using the UI. On top of that, things seem to get provisioned instantly if we try to open the files tab in the channel using the Teams UI.

Does anyone have wisdom relating to this issue that they wouldn't mind sharing?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,667 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,795 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,479 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.