Skip to content

Commit 0a7d638

Browse files
diberryCopilot
andcommitted
docs: update --subscription global option to document default resolution
The --subscription parameter description only mentioned AZURE_SUBSCRIPTION_ID as the fallback. Since #1974 merged, the resolution order is: 1. Explicit --subscription value 2. Azure CLI profile (~/.azure/azureProfile.json, set via 'az account set') 3. AZURE_SUBSCRIPTION_ID environment variable Update the Global Options table to reflect this and accept display names. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f613eba commit 0a7d638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/Azure.Mcp.Server/docs/azmcp-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The following options are available for all commands:
99

1010
| Option | Required | Default | Description |
1111
|-----------|----------|---------|-------------|
12-
| `--subscription` | No | Environment variable `AZURE_SUBSCRIPTION_ID` | Azure subscription ID for target resources |
12+
| `--subscription` | No | Azure CLI profile (`az account set`), then `AZURE_SUBSCRIPTION_ID` env var | Specifies the Azure subscription to use. Accepts either a subscription ID (GUID) or display name. If not specified, the default subscription is resolved from the Azure CLI profile (`~/.azure/azureProfile.json`, configured via `az account set`) or, if not set there, from the `AZURE_SUBSCRIPTION_ID` environment variable. |
1313
| `--tenant-id` | No | - | Azure tenant ID for authentication |
1414
| `--auth-method` | No | 'credential' | Authentication method ('credential', 'key', 'connectionString') |
1515
| `--retry-max-retries` | No | 3 | Maximum retry attempts for failed operations |

0 commit comments

Comments
 (0)