Till you stay below the 2 RPS limit you should be generally fine. If you do get throttled, you should honor the Retry-After header if one is sent. In the absence of one, use 10 seconds wait to start with exponential backoff.
POST 1:1/group chat message Rate limiting
We have automation that we plan to send chat messages to users with. So like if your password is about to expire, or there is a security event, we will be firing one to one messages using the below endpoints. Just trying to understand the rate limiting, and throttling on this end point.
"https://graph.microsoft.com/beta/chats/$chatID/messages"
I saw a refernce for one to one chats, it looks like 2rps ( 2 requests per second) but it doesnt specify a maximum per day. It does however specify a maximum of 3000 per day going into a given channel.
https://learn.microsoft.com/en-us/graph/throttling#microsoft-teams-service-limits
TLDR: trying to understand if I had to send a message to all 20k or so users on any given day, what type of throttling or limits we would potentially run into.
Thanks.
1 answer
Sort by: Most helpful
-
Ramjot Singh 861 Reputation points Microsoft Employee
2022-01-13T22:34:41.047+00:00