Linux App Service with PHP - Error - "This region has quota of 0 instances for your subscription. Try selecting different region or SKU"

Brett Parkhurst 21 Reputation points
2022-02-15T19:27:17.023+00:00

I'm struggling creating a Linux App Service for PHP in the US West 2 region. The Create resource walks me through everything perfectly and when I go to create it, I get the following error. We don't know why this is happening or how to check our quotas for a Linux app service in this region.

"properties": {

    "statusCode": "BadRequest",

    "serviceRequestId": null,

    "statusMessage": "{\"error\":{\"code\":\"InvalidTemplateDeployment\",\"message\":\"The template deployment 'Microsoft.Web-WebApp-Portal-68ee9e04-9d8f' is not valid according to the validation procedure. The tracking id is 'ab17439e-349b-4693-9b39-10576a6a86f5'. See inner errors for details.\",\"details\":[{\"code\":\"ValidationForResourceFailed\",\"message\":\"Validation failed for a resource. Check 'Error.Details[0]' for more information.\",\"details\":[{\"code\":\"SubscriptionIsOverQuotaForSku\",\"message\":\"This region has quota of 0 instances for your subscription. Try selecting different region or SKU.\"}]}]}}",

    "eventCategory": "Administrative",

   
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,673 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 16,576 Reputation points MVP
    2022-02-15T19:45:34.2+00:00

    Good to have a check on App Service Plans - List Usages. This will show the quota for the app service in this region.
    Here is the link showing the usage

    https://learn.microsoft.com/en-us/rest/api/appservice/app-service-plans/list-usages

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Brett Parkhurst 21 Reputation points
    2022-02-18T18:08:35.88+00:00

    So it looks like Linux App Services are not supported right now in West US 2. Very unfortunate. Here is Microsoft's answer which is not great.

    ----------------------------------------------------------------------------

    I really appreciate your time during the call. I'm sorry for this situation, but as I mentioned Microsoft has specific resources available in every region. Right now the location West US 2 seems to be highly demanded and there are no available instances to run your App Service, that's why you are able to create the App in other regions but not this specific one. To migrate apps or clone them it's also necessary to create an App Service in the process as you can check here: Move an app to another region - Azure App Service | Microsoft Learn, Create, Clone, Browse, Restart, Stop And Delete Web App In Azure (c-sharpcorner.com), so this issue keeps preventing us from having an app in this location. I suggest you try another region instead of waiting until there are available instances in West US 2 since we don't really know when could it be.

    I will engage someone else in my scalation path so they can give you their point of view with this situation and maybe clarify the remaining doubts you may have.