Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Batch call request return 429 - Too many requests in response
Hi,
I am trying to call api add member to the teams channel and remove members from the team channels. I am using batch call for calling add and remove member from teams channel. Both batch call are separate. Using below api to in batch call requests.
Add Member :HTTP POST : https://graph.microsoft.com/v1.0/teams/{teamsId}/channels/{channelId}/members
Remove Member : HTTP DELETE : /teams/{teamsId}/channels/{channelId}/members/{memberId}
Initially it worked fine. We are limiting bath call to in 20 requests at time. But past 2 when I was trying to add or remove 6-7 member from the team channel request return 429 - Too many requests in response. I tried 2-3 members with same operations the situation is still the same i.e. getting status code 429 each time.
NOTE: Above mentioned scenario is occurred for every request.
I am not sure what is the issue with batch calls. Can someone share more details about it.
Microsoft Teams | Development
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms