Hit-ARM-REST-API-limit

Issue:

Hit ARM REST API limit
{“error”:{“code”:”SubscriptionRequestsThrottled”,”message”:”Number of read requests for subscription ‘Your subscription id’ exceeded the limit of ‘12000’ for time interval ‘01:00:00’. Please try again after ‘300’ seconds.”}}

Cause:

These limits are scoped to the security principal (user or application) making the requests and the subscription ID or tenant ID. If your requests come from more than one security principal, your limit across the subscription or tenant is greater than 12,000 and 1,200 per hour.

Suggestions:

1.Increase query interval.

2.Using different security principal (user or application) making the requests. If your application can support it.

i.https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals

ii.https://docs.microsoft.com/en-us/powershell/azure/create-azure-service-principal-azureps?view=azps-3.7.0

More Information: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling

2020-04-18 HTH. By Jacky.