Share via

Cannot create AppService nor AppService Plan in Germany

Gabriele 1 Reputation point
2022-12-19T22:43:59.533+00:00

When I try to create an AppService Plan or AppService in German West Central (where these types of resources are supposed to be available) I get a weird error:

"Code":"Unauthorized","ExtendedCode":"52039","Message":"This  
│ region has quota of 0 instances for your subscription. Try selecting different region or SKU."  

It's also weird because it's not clear what "instances" means in the case I'm creating the AppService Plan.

I also checked "Quotas" but there's nothing evidently to link to such resources, mostly are about vCPU and the like.

Same error happens both using the Portal and using Terraform+CLI.

Thanks for any help!

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


2 answers

Sort by: Most helpful
  1. Gabriele 1 Reputation point
    2022-12-20T07:12:42.12+00:00

    Quotas seem pretty free. There are some that have limit=0 by default, but this is true also in FR or CH where it actually works.

    ❯ az vm list-usage --location "Germany West Central" --output table  
    Name                                      CurrentValue    Limit  
    ----------------------------------------  --------------  -------  
    Availability Sets                         0               2500  
    Total Regional vCPUs                      0               10  
    Virtual Machines                          0               25000  
    Virtual Machine Scale Sets                0               2500  
    Dedicated vCPUs                           0               3000  
    Cloud Services                            0               2500  
    Total Regional Low-priority vCPUs         0               3  
    Basic A Family vCPUs                      0               10  
    Standard A0-A7 Family vCPUs               0               10  
    Standard A8-A11 Family vCPUs              0               10  
    Standard D Family vCPUs                   0               10  
    Standard Dv2 Family vCPUs                 0               10  
    Standard DS Family vCPUs                  0               10  
    Standard DSv2 Family vCPUs                0               10  
    Standard G Family vCPUs                   0               10  
    Standard GS Family vCPUs                  0               10  
    Standard F Family vCPUs                   0               10  
    Standard FS Family vCPUs                  0               10  
    Standard NV Family vCPUs                  0               12  
    Standard NC Family vCPUs                  0               12  
    Standard H Family vCPUs                   0               8  
    Standard Av2 Family vCPUs                 0               10  
    Standard LS Family vCPUs                  0               10  
    Standard Dv2 Promo Family vCPUs           0               10  
    Standard DSv2 Promo Family vCPUs          0               10  
    
    0 comments No comments

  2. Bjoern Peters 8,921 Reputation points
    2022-12-20T02:27:44.65+00:00

    Hi @Gabriele

    what the error message says... actually, your subscription does not have the right and/or the quota to deploy an AppService (Plan) in Germany West Central

    In generell this should work, I just tried to deploy a function app with app plan in my Visual Studio subscription...

    272208-image.png

    So it must have something to do with your user, your permissions and/or your subscription (or in a combination of these).

    Maybe it has something to do with your quota... here is a possible troubleshooting guide...
    https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-resource-quota?tabs=azure-cli

    I hope my answer is helpful to you,

    Your
    Bjoern Peters

    If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.