question

73556199 avatar image
0 Votes"
73556199 asked JayceYang-MSFT edited

About Teams rate limits

I'm trying to understand the following pages, but there are some unclear points.
https://docs.microsoft.com/en-US/microsoftteams/platform/bots/how-to/rate-limit

1.Global limit
There is the following description.
"The global limit per app per tenant is 50 Requests Per Second (RPS). "
- Is the tenant here a tenant registered in Azure AD?
- If the apps are different, is the rate limit different for each app? Example: App1 = 50RPS, App2 = 50RPS

2.Per bot per thread limit
Is a thread a conversation with a Teams user?
Does "The thread limit of 3600 seconds and 1800 operations" apply only if multiple bots send a message to a conversation for a Teams user?
Example: For Bot1 + User1 and Bot2 + User1, this limitation applies. For Bot1 + User1, this limitation does not apply.


office-teams-windows-itprooffice-teams-app-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Prasad-MSFT avatar image
0 Votes"
Prasad-MSFT answered Prasad-MSFT edited

1.Global limit:

"The global limit per app per tenant is 50 Requests Per Second (RPS). "
The tenant here a tenant registered in Azure AD.
Yes, If the apps are different, the rate limit is different for each app. Example: App1 = 50RPS, App2 = 50RPS

2.Per bot per thread limit:

Yes, a thread is 1:1 conversation between bot and user, a group chat, or a channel in a team.
The thread limit of 3600 seconds and 1800 operations applies only if multiple bots send a message to a conversation for a Teams user.

Thanks,

Prasad Das



If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.