cant create function app, get "This region has quota of 0 instances for your subscription"

Nutmix 36 Reputation points
2022-06-06T08:05:44.127+00:00

There are several people with the same problem, but reading all threads - noone seems to have a solution yet.

The region is North Europe.

I have tried creating a hello world http trigger function app via visual studio, and also directly in azure portal.

We have several azure subscriptions which have lots of resources in them.

The exact error is:

{"code":"InvalidTemplateDeployment","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."}]}],"message":"The template deployment 'Microsoft.Web-FunctionApp-Portal-01b72bda-996c' is not valid according to the validation procedure. The tracking id is 'ed86df9b-5636-4adf-9e6c-4659d4ae6852'. See inner errors for details."}

I selected default options, including "windows" not linux for the OS.

Details
Subscription. xxx
Resource Group. fapp1
Name FATest2
Runtime stack .NET 6
Hosting Storage (New)
Storage account swhfapp19ee9
Plan (New)
Plan type Consumption (Serverless)
Name ASP-swhfapp1-a654
Operating System Windows
Region North Europe
SKU Dynamic
Monitoring (New)
Application Insights
Enabled
Name FATest2
Region North Europe

Any ideas what the cause of this error is, or what the fix is?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,795 questions
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 70,916 Reputation points Moderator
    2022-06-07T05:09:25.53+00:00

    @Nutmix Thanks for reaching out and apology for the inconvenience due to this issue.

    To ensure that existing workloads in the region continue to run and scale within normal variances, we are restricting quota requests for net-new deployments in the region, as well as requests for large quota increases. These restrictions will eventually be relaxed. However, there is not a near-term ETA at this time.

    You can try changing the function app plan and see if it helps you. In case you still want to deploy the function app in the same region in North Europe then we can connect offline so I can get more details and business justification so I can reach out to my Product team. Please note that this doesn't guarantee that you will be able to deploy your function app in the restricting quota region.

    3 people found this answer helpful.

  2. seadude 111 Reputation points
    2022-08-20T01:28:18.867+00:00

    @Nutmix and @MayankBargali-MSFT ,

    I just ran into this error too for WEST US 2. In my case, it was because of the Application Insights blade that is provisioned as part of an Azure Function.

    If I choose "No" on the App Insights option, I was able to create the Function.

    2 people found this answer helpful.

  3. Sanjay Vamja 5 Reputation points
    2024-05-30T20:01:06.04+00:00

    I am able to continue this tutorial now by creating the function app via portal rather than through VS Code and it works fine!

    https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-node

    1 person found this answer helpful.
    0 comments No comments

  4. Sapan Jain 0 Reputation points
    2023-08-28T14:08:13.9233333+00:00

    I am not able to deploy logic app

    error message : {"code":"DeploymentFailed","target":"/subscriptions/62e097b2-4d3d-4c0d-9417-3fc69adcea7f/resourceGroups/sapanRG001/providers/Microsoft.Resources/deployments/Microsoft.Web-LogicApp-Portal-281cbd84-852f","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"target":"/subscriptions/62e097b2-4d3d-4c0d-9417-3fc69adcea7f/resourceGroups/sapanRG001/providers/Microsoft.Resources/deployments/Microsoft.Web-LogicApp-Portal-281cbd84-852f","message":"This server farm 'ASP-sapanRG001-a609' cannot contain Logic Apps. Logic Apps can be deployed only to 'WorkflowStandard' Sku or App Service Environments(ASE)."}]}

    0 comments No comments

  5. Pip Delange 0 Reputation points
    2023-09-07T20:53:49.52+00:00

    Just got the same error on East US 2.


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.