Microsoft Graph Error: Microsoft.Kiota.Http.HttpClientLibrary: Failed to execute GetChildThreadsV2Async #2497
Unanswered
nguyentranenvoyair
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Thanks for raising this @nguyentranenvoyair Any chance you have looked into batching the requests using json batching? https://learn.microsoft.com/en-us/graph/sdks/batch-requests?tabs=csharp |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context: I'm trying to create an Azure Function that pulls Teams and Channels info using Graph API. As I understand it (please correct me if I'm wrong), there's no way to send one Graph API request to retrieve all channels in my organization, and I have to first fetch all Teams and then for each Team, fetch the channels.
As there are more than 28,000 Teams, the time it takes to fetch all channels by iterating through each Team at a time is slow, so I try to fetch channels from multiple Teams concurrently, as shown by the code block in my Function below.
However, as it was almost done fetching all channels (got to 28565/28625) then I received this error:
System.Private.CoreLib: Exception while executing function: GetTeamsChannels. Microsoft.Kiota.Http.HttpClientLibrary: Failed to execute GetChildThreadsV2Async.
Could someone please help me resolve this error?
Beta Was this translation helpful? Give feedback.
All reactions