question

TomaszKaniewski-6939 avatar image
0 Votes"
TomaszKaniewski-6939 asked MayankBargali-MSFT edited

Can't create more than 5 app service plans with dynamic tier (Y1)

Hi,

I'm trying to run my terraform scripts on new subscription but for some strange reason, I can't create more than 5 app service plans with Dynamic tier (Y1).

In terraform:

![195282-image.png][1]

When I tried to do it with ARM template in Azure I got more details about it:

{
"status": "Failed",
"error": {
"code": "429",
"message": "App Service Plan Create operation is throttled for subscription xxx. Please contact support if issue persists.",
"details": [
{
"message": "App Service Plan Create operation is throttled for subscription xxx. Please contact support if issue persists."
},
{
"code": "429"
},
{}
]
}
}

When I delete one app service plan, then I can create another, but I can't create more than 5.


how can I fix it?

azure-webapps
image.png (65.2 KiB)
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

AndriyBilous avatar image
0 Votes"
AndriyBilous answered AndriyBilous commented

Hello @TomaszKaniewski-6939

Error 429 occurs when you have too many deployments/failed deployments of an app service plan within a short period of time. This causes the system to throttle any additional deployments for the next 48 hours. This limit is per region, so you can try to use other regions or subscriptions.

To resolve the issue you will need to wait 48 hours to complete a deployment in that region or contact support to see if they will remove the throttle.

https://docs.microsoft.com/en-us/answers/questions/692182/appserviceplancreateoperationisthrottled.html

Please be aware that App Service Plans have a 10 per region limit on the Free SKU and 10 per resource group on Shared SKU and further limits according to SKU is listed here.

· 4
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.

Error 429 occurs when you have too many deployments/failed deployments of an app service plan within a short period of time.

How much is too many? It failed at my first try on creating 5th app service plan. Looking at my TF logs I was creating every app service plan with couple of minutes pause between them. It sounda like I shouldn't have this issue.


This causes the system to throttle any additional deployments for the next 48 hours.

If any additional deployment is blocked for 48 hours, why I can create another App service after I delete some already existing?

0 Votes 0 ·
AndriyBilous avatar image AndriyBilous TomaszKaniewski-6939 ·

I would recommend to open an Azure Support Request, so you could get an exact answer on your problem.

When you reach the limit, you receive the HTTP status code 429 Too many requests. The response includes a Retry-After value, which specifies the number of seconds your application should wait (or sleep) before sending the next request. If you send a request before the retry value has elapsed, your request isn't processed and a new retry value is returned.

You can determine the number of remaining requests by examining response headers. Read requests return a value in the header for the number of remaining read requests. Write requests include a value for the number of remaining write requests.

195277-image.png


0 Votes 0 ·
image.png (23.3 KiB)

This literrally copy-paste from documentation: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling

Are able to answer my questions from the comments?

0 Votes 0 ·
Show more comments