Implement request rate limiting for Application to restrict request count in given time

Anand Sharma 0 Reputation points
2025-01-02T11:31:42.61+00:00

Implement request rate limiting for Application to restrict request count in given time. I want to send 5 Requests per Second from single IP address and throw an exception Too Many Requests with HTTP status Code 429 while using azure ad authentication

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,143 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Silvia Wibowo 4,926 Reputation points Microsoft Employee
    2025-01-02T21:49:44.1566667+00:00

    Hi @Anand Sharma , I understand you want to implement rate limit capability to your App Service.

    Azure App Service does not have a built-in rate limit capability. You can utilize feature from other service to provide rate limit, one of these options:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.