Skip to content

azd provision fails with an avoidable error #533

@prafullkotecha

Description

@prafullkotecha
  1. Created a brand new Azure account.
  2. Upgraded my subscription from "Free Trial" to "Pay-as-you-go".
  3. azd init - created the environment
  4. azd provision - supplied inputs as requested.
  5. Deployment failed with this error -
ERROR: deployment failed: error deploying infrastructure: validating deployment to subscription:

Validation Error Details:
InvalidTemplateDeployment: The template deployment 'azurechat-lab-1759362343' is not valid according to the validation procedure. The tracking id is 'b64d1897-199c-4a71-abbb-0277f9e05e65'. See inner errors for details.
ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information.
SubscriptionIsOverQuotaForSku: Quota exceeded for : 0 VMs allowed, 1 VMs requested.. Try selecting different region or SKU.

Request for change to the provision script here - Why allow me to pick a region that it knows is invalid for a resource it knows this deployment will provision?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions