How do i get a real HTTP 429 error code response from any Azure service like "Service BUS"

Richard Geary 25 Reputation points
2024-07-16T10:13:33.93+00:00

How do i get a real HTTP 429 error code response from any Azure service like for example "Service BUS". Is there any way set the resource manager throttling value to 0 or to code a Powershell skript without accidentaly "DDOSing" a Azure Server in order to only get a real HTTP 429 Response?

I welcome and thank you for your answers!

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
641 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
648 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
396 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amrinder Singh 5,155 Reputation points Microsoft Employee
    2024-07-16T15:33:59.2233333+00:00

    Hi Richard Geary - Thanks for reaching out.

    Taking an example of Azure storage, 429 errors are mainly due to ARM or SRP level throttling. You can try replicating that by calling management plane API.

    e.g. https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2?tabs=microsoft-entra-id - This is dataplane API for listcontainer operation and shall follow scalability limits of IOPS on the account level.

    https://learn.microsoft.com/en-us/rest/api/storagerp/blob-containers/list?view=rest-storagerp-2023-05-01&tabs=HTTP - This is management plane API for listcontainer operation and shall follow the throttling limits on ARM/RP level.

    So basically, running the 2nd one, it will hopefully tend to replication ARM/RP level throttling. I believe the similar concept can be applied to other services by looking for any sample management plane API associated to that.

    Hope that helps!

    Let me know if there are any further queries/concerns, will be glad to assist.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    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.