{
  "slug": "azd-provision-and-azd-up-accept-subscription-and-location-flags-ea3643dec664",
  "title": "azd provision and azd up accept subscription and location flags",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-21T02:45:23.000Z",
  "announced_at": "2026-02-21T02:45:23.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When provisioning or deploying a repository with a specific Azure subscription and location, pass both values to `azd provision` or `azd up`; the flags save them to the environment and skip the selection prompts.",
    "examples": [
      "azd provision --subscription <subscription-id> --location <location>",
      "azd up --subscription <subscription-id> --location <location>"
    ],
    "gotchas": [
      "Version: 1.23.6",
      "--subscription <subscription-id>: Azure subscription ID to use for the environment; the value is saved to that environment.",
      "--location <location>: Azure location to use for the environment; the value is saved to that environment. Alias: `-l`.",
      "Prerequisite: Use an `azd` version that includes the flags (introduced in 1.23.6).",
      "Prerequisite: Authenticate with Azure and have access to the chosen subscription."
    ]
  },
  "why_it_matters": "Provision or deploy a repository using a specific Azure subscription and location.",
  "before": "Run the command and select a subscription and location at the interactive prompts.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.6",
    "https://github.com/Azure/azure-dev/pull/6777",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/reference"
  ],
  "rank": 0.97042,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-2c9acf766b520a1b-0:gate",
    "evidence_hash": "ccf081c0c7a981b3dbe60d41e795426bf61b7dc36546049796e52d4060c55bdc"
  },
  "review": {
    "draft_hash": "b02329fbeb5b7d8916e609ea06c24b39e473dfc9f6edbab363b5e06925ac67a0",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.83 (>= 0.6 needed)."
  }
}
