Skip to content

Your subscription has insufficient quota for this resource when creating a new environment and trying to provision hosted agent #7306

@therealjohn

Description

@therealjohn

I started a new project with init and picked my subscription, region, model, etc. That worked.

Then I need to test it in another subscription, region, etc. so I created a new env with azd env new <name>. I ran azd up and it asks me to pick my subscription and region - but it does not have me go through the same flow of verifying the model / quota is still valid in that new selection so I end up with:

  (x) Failed: Validating deployment

ERROR: Your subscription has insufficient quota for this resource.

Suggestion: Check current usage with 'az vm list-usage --location <region>' or request a quota increase in the Azure portal.


  • Increase Azure subscription quotas

error executing step command 'provision': deployment failed: error deploying infrastructure: validating deployment to subscription: 

Validation Error Details:
InvalidTemplateDeployment: The template deployment '<redacted>' is not valid according to the validation procedure. The tracking id is '317d1c7e-fb7f-4c52-915b-6a8195232acd'. See inner errors for details.
InsufficientQuota: Insufficient quota. Cannot create/update/move resource 'ai-account-<redacted>'.  

I'd expect this to allow me to pick a valid model, etc. However, we currently put that in the deployment section of the azure.yaml, so its not a per-environment setting. We'll have to re-think how we handle the model per environment to resolve this, or improve the error message if its unsupported.

Metadata

Metadata

Assignees

Labels

ext-agentsazure.ai.agents extension

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions