When I archive (unarchived) ms team by graph sdk. We have problems achive in operation which alway status InProgess and did not go to navigate any channels although there are public channels

Cuong Ngo 0 Reputation points
2024-04-15T03:01:47.91+00:00

Describe the bug Archive ms team and which did not go to navigate any channels although there are public channels. And we don't know how long change status operations InProgess to Successeded

To Reproduce When I archive (unarchived) the team by Ms Graph SDK. And I check by code client.Teams[""].Operations.GetAsync() image

Expected behavior When I archive (unarchived)the team which is finished. Pls change change status operations InProgess to Successeded. And we could navigate public channel Deep analyses shows the problem is related to a new Archive process Microsoft introduced some time ago.

  • It looks like the Graph Teams Archive method is causing the issue since the Archive Async process is introduced
  • Archiving a team cost time, to check if all steps to archive are processed well, there is a Graph method 'Get Operation teamsAsyncOperationType' to check the status of the archive proces.
  • Get teamsAsyncOperation - Microsoft Graph beta | Microsoft Learn for more detail
  • If the status becomes '200 OK' and response = 'Succeeded' the team is archived successfully
  • Problem is the archived team never gets the '200 OK' and response = 'Succeeded' status.
  • This results in the error shown when you try to navigate a team channel at the Archive section of a Category
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,044 questions
0 comments No comments
{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.