An Azure service that provides an integrated environment for bot development.
Yes. Inbound traffic through Bot Framework can be rate limited.
Supported details:
- When requests are throttled, Bot Framework returns HTTP 429 Too Many Requests.
- A throttled response can include a Retry-After header that indicates how many seconds to wait before retrying.
- The documented causes include:
- A bot sends messages too frequently
- A client of a bot sends messages too frequently
- Direct Line clients request a new Web Socket too frequently
That means rate limiting is not only about outbound bot sends to Teams. It can also apply when a client of the bot is sending too frequently.
What is not published is a fixed numeric limit for general Bot Framework inbound traffic. The documented guidance states that thresholds are continuously tuned and the numbers aren’t published.
For Teams-specific bot APIs, all incoming requests to the bot APIs are subject to the same rate limiting policy, and apps that exceed the limit receive HTTP 429. The guidance is to implement retry handling with exponential backoff, and also retry 412, 502, and 504 where applicable.