You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(watch): reconcile files removed before per-file watch registration - #10300
Prevent file watching from losing changes, retaining vanished temporary files, or stalling during registration and shutdown.
Reconcile cumulative created-file accounting against the filesystem and retain a fixed startup inventory, so missed removals do not leave unbounded transient entries or misclassify late events.
Preserve recreated files when a queued removal belongs to an earlier generation, and sort reported changes deterministically.
Serialize backend Add/Close in one registration owner while a separate consumer keeps draining events, including cancellation and backpressure.
Queue and deduplicate newly discovered directory subtrees instead of repeatedly traversing the whole project.
Join queued and in-flight registration before final reporting, so cancellation after a snapshot does not abandon already discovered children.
Validation
Offline accounting, queue, lifecycle, race, and final-snapshot regressions passed. Hosted artifact generation has a Python dependency/permission failure; aggregate CI is not claimed green. This is current-path accounting, not inode-generation tracking or an atomic snapshot of unconsumed kernel events.
Some fsnotify backends (notably Darwin kqueue) emit the synthetic Create event for a new file before registering the per-file watch; a file removed inside that window never produces a Remove event and was stuck in Created forever. Add a portable, backend-agnostic ticker that clears a Created entry once its backing file no longer exists, mirroring the existing create-then-remove semantics (cleared entirely, not reported as Deleted). Covered by a deterministic unit test exercising the reconciliation function directly, independent of OS event timing.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Azure Pipelines:
Successfully started running 1 pipeline(s).
24 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
Reconcile missing created paths under the snapshot mutex instead of on a ticker. Preserve modified/deleted changes and update deterministic fixtures.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Filter missing created paths without mutating event accounting, so queued Remove and Write events cannot resurrect ephemeral files. Cover late events, recreation, and pre-existing removals deterministically through the shared event handler.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use a fixed startup-file inventory to distinguish pre-existing changes from late events after ephemeral paths are reclaimed. Preserve live created generations and discover populated new-directory children. Rebuild retained creation maps to release transient peak capacity.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Collect fixed startup provenance without Add calls, then start consumption before registering directories. Close the backend on cancellation, join startup failure cleanup, and handle closed channels without spinning. Cover injected 50-event backpressure and lifecycle exits.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the event consumer draining while one registration owner awaits native Add replies, then close exactly once. Coalesce dynamic directory discoveries into a bounded root-rescan signal. Reproduce dropped Add replies and concurrent Close with a native-faithful lifecycle backend.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep directory discovery scoped to pending new subtrees, stabilize legacy output, and protect live replacements from queued removal events. Document the immutable startup-path provenance contract and add focused regressions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Make both reporting methods wait for the registration owner to complete in-flight and queued subtree scans without holding accounting locks or blocking event consumption. Cover final snapshot followed by cancellation, queued and in-flight scans, and backend backpressure.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Avoid O(n²) path scanning in add to prevent event backpressure
cli/azd/pkg/watch/watch.go:80
add scans every pending path twice, so a burst of sibling directory events makes the event consumer do O(n²) filepath.Rel work while registration is blocked. That is the exact backpressure window this queue is meant to keep draining, and a large generated tree can fill the backend event buffer before Add can complete. Keep enqueue O(1), then coalesce ancestors in take (for example, by walking each sorted path's parents against the pending set).
Project the snapshot-barrier correctness fix from #10300 (1be9d87) onto the existing coalesced root-rescan owner. Wait outside the accounting lock while the independent consumer drains backend events. Cover in-flight and queued registration, backpressure, immediate cancellation and reporting after shutdown.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reclassify recreated files found during dynamic subtree scans
cli/azd/pkg/watch/watch.go:403
Files found while rescanning a recreated directory are skipped when the same path existed at startup. If dir/child is deleted and then recreated, the directory Create may be the only event, and this check leaves the live child classified as Deleted. Treat files from a dynamic subtree scan as created even when they appear in initialFiles, and clear stale classifications.
Remove the watcher reliability implementation and tests from this stacked PR so the focused watcher work can be inherited independently from #10300.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
title: Azure Developer CLI reference
description: This article explains the syntax and parameters for the various Azure Developer CLI commands.
author: alexwolfmsft
ms.author: alexwolf
ms.date: 10/06/2026
ms.service: azure-dev-cli
ms.topic: reference
ms.custom: devx-track-azdevcli
Azure Developer CLI reference
This article explains the syntax and parameters for the various Azure Developer CLI commands.
azd
The Azure Developer CLI (azd) is an open-source tool that helps onboard and manage your project on Azure
Options
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--docs Opens the documentation for azd in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for azd.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
azd version: Print the version number of Azure Developer CLI.
azd add
Add a component to your project.
azd add [flags]
Options
--docs Opens the documentation for azd add in your web browser.
-h, --help Gets help for add.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd auth in your web browser.
-h, --help Gets help for auth.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
When run without any arguments, log in interactively using a browser. To log in using a device code, pass
--use-device-code.
To log in as a service principal, pass --client-id and --tenant-id as well as one of: --client-secret,
--client-certificate, or --federated-credential-provider.
To log in using a managed identity, pass --managed-identity, which will use the system assigned managed identity.
To use a user assigned managed identity, pass --client-id in addition to --managed-identity with the client id of
the user assigned managed identity you wish to use.
When already logged in, azd automatically clears cached authentication data (such as stale tokens)
before re-authenticating. This ensures a clean login state and prevents issues with expired or
corrupted cached credentials.
azd auth login [flags]
Options
--check-status Checks the log-in status instead of logging in.
--client-certificate string The path to the client certificate for the service principal to authenticate with.
--client-id string The client id for the service principal to authenticate with.
--client-secret string The client secret for the service principal to authenticate with. Set to the empty string to read the value from the console.
--docs Opens the documentation for azd auth login in your web browser.
--federated-credential-provider string The provider to use to acquire a federated token to authenticate with. Supported values: github, azure-pipelines, oidc
-h, --help Gets help for login.
--managed-identity Use a managed identity to authenticate.
--redirect-port int Choose the port to be used as part of the redirect URI during interactive login.
--tenant-id string The tenant id or domain name to authenticate with.
--use-device-code[=true] When true, log in by using a device code instead of a browser.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd auth logout in your web browser.
-h, --help Gets help for logout.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Display whether you are logged in to Azure and the associated account information.
azd auth status [flags]
Options
--docs Opens the documentation for azd auth status in your web browser.
-h, --help Gets help for status.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
The completion command allows you to generate autocompletion scripts for your shell,
currently supports bash, zsh, fish and PowerShell.
See each sub-command's help for details on how to use the generated script.
Options
--docs Opens the documentation for azd completion in your web browser.
-h, --help Gets help for completion.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd completion bash in your web browser.
-h, --help Gets help for bash.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd completion fig in your web browser.
-h, --help Gets help for fig.
--include-help-subcommands Include subcommands under the help command in the Fig spec
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd completion fish in your web browser.
-h, --help Gets help for fish.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd completion powershell in your web browser.
-h, --help Gets help for powershell.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd completion zsh in your web browser.
-h, --help Gets help for zsh.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Manage the Azure Developer CLI user configuration, which includes your default Azure subscription and location.
Available since azure-dev-cli_0.4.0-beta.1.
The easiest way to configure azd for the first time is to run azd init. The subscription and location you select will be stored in the config.json file located in the config directory. To configure azd anytime afterwards, you'll use azd config set.
The default value of the config directory is:
$HOME/.azd on Linux and macOS
%USERPROFILE%.azd on Windows
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.
Options
--docs Opens the documentation for azd config in your web browser.
-h, --help Gets help for config.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.
azd config get <path> [flags]
Options
--docs Opens the documentation for azd config get in your web browser.
-h, --help Gets help for get.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Display the list of available features in alpha stage.
azd config list-alpha [flags]
Options
--docs Opens the documentation for azd config list-alpha in your web browser.
-h, --help Gets help for list-alpha.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
List all possible configuration settings that can be set with azd, including descriptions and allowed values.
azd config options [flags]
Options
--docs Opens the documentation for azd config options in your web browser.
-h, --help Gets help for options.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Resets all configuration in the configuration path.
The default value of the config directory is:
$HOME/.azd on Linux and macOS
%USERPROFILE%\.azd on Windows
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable to the default.
azd config reset [flags]
Options
--docs Opens the documentation for azd config reset in your web browser.
-f, --force Force reset without confirmation.
-h, --help Gets help for reset.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.
azd config set <path> <value> [flags]
Examples
azd config set defaults.subscription <yourSubscriptionID>
azd config set defaults.location eastus
Options
--docs Opens the documentation for azd config set in your web browser.
-h, --help Gets help for set.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Show all configuration values in the configuration path.
The default value of the config directory is:
$HOME/.azd on Linux and macOS
%USERPROFILE%\.azd on Windows
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.
azd config show [flags]
Options
--docs Opens the documentation for azd config show in your web browser.
-h, --help Gets help for show.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Manage subscription filters for tenant-scoped subscription prompts.
Synopsis
Manage per-tenant subscription filters that control which subscriptions are shown during interactive prompts.
Filters are stored locally in your user configuration and apply per-device.
Options
--docs Opens the documentation for azd config sub-filter in your web browser.
-h, --help Gets help for sub-filter.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Remove the subscription filter for a tenant so that all subscriptions are shown during prompts.
azd config sub-filter remove [flags]
Options
--docs Opens the documentation for azd config sub-filter remove in your web browser.
-h, --help Gets help for remove.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd config sub-filter: Manage subscription filters for tenant-scoped subscription prompts.
Select which subscriptions to include when prompted for a subscription under a specific tenant.
If a filter already exists, the previously selected subscriptions are pre-checked.
azd config sub-filter set [flags]
Options
--docs Opens the documentation for azd config sub-filter set in your web browser.
-h, --help Gets help for set.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd config sub-filter: Manage subscription filters for tenant-scoped subscription prompts.
Removes a configuration in the configuration path.
The default value of the config directory is:
$HOME/.azd on Linux and macOS
%USERPROFILE%\.azd on Windows
The configuration directory can be overridden by specifying a path in the AZD_CONFIG_DIR environment variable.
azd config unset <path> [flags]
Examples
azd config unset defaults.location
Options
--docs Opens the documentation for azd config unset in your web browser.
-h, --help Gets help for unset.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd copilot in your web browser.
-h, --help Gets help for copilot.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd copilot consent in your web browser.
-h, --help Gets help for consent.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
This command creates consent rules that allow tools to execute
without prompting for permission. You can specify different permission
levels and scopes for the rules.
Examples: Grant always permission to all tools globally
azd copilot consent grant --global --permission always
Grant project permission to a specific tool with read-only scope
azd copilot consent grant --server my-server --tool my-tool --permission project --scope read-only
azd copilot consent grant [flags]
Options
--action string Action type: 'all' or 'readonly' (default "all")
--docs Opens the documentation for azd copilot consent grant in your web browser.
--global Apply globally to all servers
-h, --help Gets help for grant.
--operation string Operation type: 'tool' or 'sampling' (default "tool")
--permission string Permission: 'allow', 'deny', or 'prompt' (default "allow")
--scope string Rule scope: 'global', or 'project' (default "global")
--server string Server name
--tool string Specific tool name (requires --server)
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--action string Action type to filter by (all, readonly)
--docs Opens the documentation for azd copilot consent list in your web browser.
-h, --help Gets help for list.
--operation string Operation to filter by (tool, sampling)
--permission string Permission to filter by (allow, deny, prompt)
--scope string Consent scope to filter by (global, project). If not specified, lists rules from all scopes.
--target string Specific target to operate on (server/tool format)
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--action string Action type to filter by (all, readonly)
--docs Opens the documentation for azd copilot consent revoke in your web browser.
-h, --help Gets help for revoke.
--operation string Operation to filter by (tool, sampling)
--permission string Permission to filter by (allow, deny, prompt)
--scope string Consent scope to filter by (global, project). If not specified, revokes rules from all scopes.
--target string Specific target to operate on (server/tool format)
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--all Deploys all services that are listed in azure.yaml
--docs Opens the documentation for azd deploy in your web browser.
-e, --environment string The name of the environment to use.
--from-package string Deploys the packaged service located at the provided path. Supports zipped file packages (file path) or container images (image tag).
-h, --help Gets help for deploy.
--preview Preview changes to services without deploying them.
--timeout int Maximum time in seconds for azd to wait for each service deployment. This stops azd from waiting but does not cancel the Azure-side deployment. (default: 1200) (default 1200)
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd down in your web browser.
-e, --environment string The name of the environment to use.
--force Does not require confirmation before it deletes resources.
-h, --help Gets help for down.
--purge Does not require confirmation before it permanently deletes resources that are soft-deleted by default (for example, key vaults).
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env in your web browser.
-h, --help Gets help for env.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd env config: Manage environment configuration (ex: stored in .azure/{environment}/config.json).
Manage environment configuration (ex: stored in .azure/{environment}/config.json).
Options
--docs Opens the documentation for azd env config in your web browser.
-h, --help Gets help for config.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Gets a configuration value from the environment's config.json file.
azd env config get <path> [flags]
Options
--docs Opens the documentation for azd env config get in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for get.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd env config: Manage environment configuration (ex: stored in .azure/{environment}/config.json).
Sets a configuration value in the environment's config.json file.
Values are automatically parsed as JSON types when possible. Booleans (true/false),
numbers (42, 3.14), arrays ([...]), and objects ({...}) are stored with their native
JSON types. Plain text values are stored as strings. To force a JSON-typed value to be
stored as a string, wrap it in JSON quotes (e.g. '"true"' or '"8080"').
azd env config set <path> <value> [flags]
Examples
azd env config set myapp.endpoint https://example.com
azd env config set myapp.debug true
azd env config set myapp.count 42
azd env config set infra.parameters.tags '{"env":"dev"}'
azd env config set myapp.port '"8080"'
Options
--docs Opens the documentation for azd env config set in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for set.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd env config: Manage environment configuration (ex: stored in .azure/{environment}/config.json).
Removes a configuration value from the environment's config.json file.
azd env config unset <path> [flags]
Examples
azd env config unset myapp.endpoint
Options
--docs Opens the documentation for azd env config unset in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for unset.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd env config: Manage environment configuration (ex: stored in .azure/{environment}/config.json).
--docs Opens the documentation for azd env get-value in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for get-value.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env get-values in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for get-values.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env list in your web browser.
-h, --help Gets help for list.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Create a new environment and set it as the default.
azd env new <environment> [flags]
Options
--docs Opens the documentation for azd env new in your web browser.
-h, --help Gets help for new.
-l, --location string Azure location for the new environment
--subscription string ID of an Azure subscription to use for the new environment
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Refresh environment values by using information from a previous infrastructure provision.
azd env refresh <environment> [flags]
Options
--docs Opens the documentation for azd env refresh in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for refresh.
--hint string Hint to help identify the environment to refresh
--layer string Provisioning layer to refresh the environment from.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env remove in your web browser.
-e, --environment string The name of the environment to use.
--force Skips confirmation before performing removal.
-h, --help Gets help for remove.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env select in your web browser.
-h, --help Gets help for select.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd env set in your web browser.
-e, --environment string The name of the environment to use.
--file string Path to .env formatted file to load environment values from.
-h, --help Gets help for set.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Set a name as a reference to a Key Vault secret in the environment.
Synopsis
You can either create a new Key Vault secret or select an existing one.
The provided name is the key for the .env file which holds the secret reference to the Key Vault secret.
azd env set-secret <name> [flags]
Options
--docs Opens the documentation for azd env set-secret in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for set-secret.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Execute commands and scripts with azd environment context.
Synopsis
Execute commands and scripts with full access to azd environment variables.
Commands are run with the azd environment loaded into the child process.
Multiple arguments use direct process execution (no shell wrapping).
A single quoted argument uses shell inline execution.
Examples:
azd exec python script.py # Direct exec (exact argv)
azd exec npm run dev # Direct exec (no shell)
azd exec -- python app.py --port 8000 # Direct exec with flags
azd exec 'echo $AZURE_ENV_NAME' # Inline via shell
azd exec ./setup.sh # Execute script file
azd exec --shell pwsh "Write-Host 'Hello'" # Inline PowerShell
azd exec ./build.sh -- --verbose # Script with args
azd exec -i ./init.sh # Interactive mode
--docs Opens the documentation for azd exec in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for exec.
-i, --interactive Run in interactive mode (connect stdin)
-s, --shell string Shell to use (bash, sh, zsh, pwsh, powershell, cmd). Auto-detected if not specified.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd extension in your web browser.
-h, --help Gets help for extension.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Installs one or more extensions by id from a registered extension source.
The --source flag also accepts a registry location (URL or file path). When a
location is given, azd registers it as a source (prompting for a name, and
confirming first for a URL) and then installs from it. If the location is already
registered, azd reuses that source.
You can also pass a self-contained extension bundle as a local .zip path or an
https URL. Remote URLs may be shortened or opaque. azd follows redirects
automatically and warns when a download redirects from HTTPS to HTTP. Bundle
installs aren't tracked for updates; install a newer bundle to update.
--docs Opens the documentation for azd extension install in your web browser.
-f, --force Force installation, including downgrades and reinstalls
-h, --help Gets help for install.
--no-dependencies Install only the specified extension(s) without installing their declared dependencies
-s, --source string The extension source to use for installs. Accepts a registered source name or a registry location (URL or file path) to register and install from.
-v, --version string The version of the extension to install. Cannot be used with an extension bundle
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
List available extensions from registered extension sources.
The --source flag accepts a registered source name or registry location (URL or
file path). Locations are queried read-only and are not registered. Extensions
from an unregistered location show the location itself in the SOURCE column.
azd extension list [--installed] [flags]
Options
--docs Opens the documentation for azd extension list in your web browser.
-h, --help Gets help for list.
--installed List installed extensions
-s, --source string Filter extensions by registered source name or registry location (URL or file path).
--tags strings Filter extensions by tags
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Includes version compatibility, dependencies, and installed dependents.
Uses installed metadata when no registry lists the extension, or a registry lookup fails without --source.
azd extension show <extension-id> [flags]
Options
--docs Opens the documentation for azd extension show in your web browser.
-h, --help Gets help for show.
-s, --source string The registered source name or registry location (URL or file path) to use.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd extension source in your web browser.
-h, --help Gets help for source.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Names must contain 1-64 lowercase ASCII letters, digits, hyphens, or underscores, and must begin and end with a letter or digit. The name 'bundle' is reserved.
azd extension install --source and azd extension update --source also accept a registry URL or file path directly.
azd extension source add [flags]
Options
--docs Opens the documentation for azd extension source add in your web browser.
-h, --help Gets help for add.
-l, --location string The location of the extension source
-n, --name string The source name: 1-64 lowercase letters, digits, hyphens, or underscores.
-t, --type string The type of the extension source. Supported types are 'file' and 'url'
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd extension source list in your web browser.
-h, --help Gets help for list.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Remove an extension source with the specified name
azd extension source remove <name> [flags]
Options
--docs Opens the documentation for azd extension source remove in your web browser.
-h, --help Gets help for remove.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Validate an extension source's registry.json file.
Synopsis
Validate an extension source's registry.json file.
Accepts a source name (from 'azd extension source list'), a local file path,
or a URL. Checks required fields, valid capabilities, semver version format,
platform artifact structure, and extension ID format.
--docs Opens the documentation for azd extension source validate in your web browser.
-h, --help Gets help for validate.
--strict Enable strict validation (require checksums)
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Also removes unused dependency installs after confirmation.
Use --no-dependencies to keep them; --no-prompt accepts their removal.
Required extensions cannot be removed unless their dependents are also removed
or --force is set.
azd extension uninstall [extension-id...] [flags]
Options
--all Uninstall all installed extensions
--docs Opens the documentation for azd extension uninstall in your web browser.
-f, --force Uninstall even if other installed extensions depend on it
-h, --help Gets help for uninstall.
--no-dependencies Keep dependencies installed for the removed extensions
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Update installed extensions to the latest version.
Synopsis
Also updates installed dependencies to compatible versions unless
--no-dependency-updates is set.
Failures return a nonzero exit code. Other extensions continue updating;
completed updates are kept.
azd extension update [extension-id] [flags]
Options
--all Update all installed extensions
--docs Opens the documentation for azd extension update in your web browser.
-h, --help Gets help for update.
--no-dependency-updates Do not update dependencies when updating an extension that has dependencies
-s, --source string The registered source name or registry location (URL or file path) to use for updates.
-v, --version string The version of the extension to update to
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd hooks in your web browser.
-h, --help Gets help for hooks.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd hooks run: Runs the specified hook for the project, provisioning layers, and services
Runs the specified hook for the project, provisioning layers, and services
azd hooks run <name> [flags]
Options
--docs Opens the documentation for azd hooks run in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for run.
--layer string Only runs hooks for the specified provisioning layer.
--platform string Forces hooks to run for the specified platform.
--service string Only runs hooks for the specified service.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd hooks: Develop, test and run hooks for a project.
--docs Opens the documentation for azd infra in your web browser.
-h, --help Gets help for infra.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd infra generate: Write IaC for your project to disk, allowing you to manually manage it.
Write IaC for your project to disk, allowing you to manually manage it.
azd infra generate [flags]
Options
--docs Opens the documentation for azd infra generate in your web browser.
-e, --environment string The name of the environment to use.
--force Overwrite any existing files without prompting
-h, --help Gets help for generate.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd infra: Manage your Infrastructure as Code (IaC).
When used with --template, a new directory is created (named after the template)
and the project is initialized inside it — similar to git clone.
Pass "." as the directory to initialize in the current directory instead.
Re-running init in an initialized project is idempotent: the existing environment is
reused instead of failing. With --no-prompt and no -e, the recorded default environment
is reused.
azd init [flags]
Options
-b, --branch string The template branch to initialize from. Must be used with a template argument (--template or -t).
--docs Opens the documentation for azd init in your web browser.
-e, --environment string The name of the environment to use.
-f, --filter strings The tag(s) used to filter template results. Supports comma-separated values.
--from-code Initializes a new application from your existing code.
-h, --help Gets help for init.
-l, --location string Azure location for the new environment
-m, --minimal Initializes a minimal project.
-s, --subscription string ID of an Azure subscription to use for the new environment
-t, --template string Initializes a new application from a template. You can use a Full URI, <owner>/<repository>, <repository> if it's part of the azure-samples organization, or a local directory path (./dir, ../dir, or absolute path).
--up Provision and deploy to Azure after initializing the project from a template.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Manage Model Context Protocol (MCP) server. (Alpha)
Options
--docs Opens the documentation for azd mcp in your web browser.
-h, --help Gets help for mcp.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
This command starts an MCP server that can be used by MCP clients to access
azd functionality through the Model Context Protocol interface.
azd mcp start [flags]
Options
--docs Opens the documentation for azd mcp start in your web browser.
-h, --help Gets help for start.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd mcp: Manage Model Context Protocol (MCP) server. (Alpha)
--docs Opens the documentation for azd monitor in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for monitor.
--live Open a browser to Application Insights Live Metrics. Live Metrics is currently not supported for Python apps.
--logs Open a browser to Application Insights Logs.
--overview Open a browser to Application Insights Overview Dashboard.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Packages the project's code to be deployed to Azure.
azd package <service> [flags]
Options
--all Packages all services that are listed in azure.yaml
--docs Opens the documentation for azd package in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for package.
--output-path string File or folder path where the generated packages will be saved.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd pipeline in your web browser.
-h, --help Gets help for pipeline.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd pipeline config: Configure your deployment pipeline to connect securely to Azure. (Beta)
Configure your deployment pipeline to connect securely to Azure. (Beta)
azd pipeline config [flags]
Options
-m, --applicationServiceManagementReference string Service Management Reference. References application or service contact information from a Service or Asset Management database. This value must be a Universally Unique Identifier (UUID). You can set this value globally by running azd config set pipeline.config.applicationServiceManagementReference <UUID>.
--auth-type string The authentication type used between the pipeline provider and Azure for deployment. Valid values: federated, client-credentials. Both the GitHub and Azure DevOps providers default to federated (OIDC) credentials.
--docs Opens the documentation for azd pipeline config in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for config.
--principal-id string The client id of the service principal to use to grant access to Azure resources as part of the pipeline.
--principal-name string The name of the service principal to use to grant access to Azure resources as part of the pipeline.
--principal-role stringArray The roles to assign to the service principal. By default the service principal will be granted the Contributor and User Access Administrator roles. (default [Contributor,User Access Administrator])
--provider string The pipeline provider to use (github for Github Actions and azdo for Azure Pipelines).
--remote-name string The name of the git remote to configure the pipeline to run on. (default "origin")
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
See also
azd pipeline: Manage and configure your deployment pipelines.
--docs Opens the documentation for azd provision in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for provision.
-l, --location string Azure location for the new environment
--no-state (Bicep only) Forces a fresh deployment based on current Bicep template files, ignoring any stored deployment state.
--preview Preview changes to Azure resources.
--subscription string ID of an Azure subscription to use for the new environment
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Publish a service image or reuse an existing passthrough image.
azd publish <service> [flags]
Options
--all Publishes all services that are listed in azure.yaml
--docs Opens the documentation for azd publish in your web browser.
-e, --environment string The name of the environment to use.
--from-package string Publishes the service from a container image (image tag).
-h, --help Gets help for publish.
--to string The target container image in the form '[registry/]repository[:tag]' to publish to.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--all Restores all services that are listed in azure.yaml
--docs Opens the documentation for azd restore in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for restore.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Display information about your project and its resources.
azd show [resource-name|resource-id] [flags]
Options
--docs Opens the documentation for azd show in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for show.
--show-secrets Unmask secrets in output.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template in your web browser.
-h, --help Gets help for template.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template list in your web browser.
-f, --filter strings The tag(s) used to filter template results. Supports comma-separated values.
-h, --help Gets help for list.
-s, --source string Filters templates by source.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template show in your web browser.
-h, --help Gets help for show.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template source in your web browser.
-h, --help Gets help for source.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Adds an azd template source with the specified key. (Beta)
Synopsis
The key can be any value that uniquely identifies the template source, with well-known values being:
・default: Default templates
・awesome-azd: Templates from https://aka.ms/awesome-azd
azd template source add <key> [flags]
Options
--docs Opens the documentation for azd template source add in your web browser.
-h, --help Gets help for add.
-l, --location string Location of the template source. Required when using type flag.
-n, --name string Display name of the template source.
-t, --type string Kind of the template source. Supported types are 'file', 'url' and 'gh'.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template source list in your web browser.
-h, --help Gets help for list.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd template source remove in your web browser.
-h, --help Gets help for remove.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Discover, install, update, and check status of Azure development tools.
Options
--docs Opens the documentation for azd tool in your web browser.
-h, --help Gets help for tool.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd tool check in your web browser.
-h, --help Gets help for check.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--agent strings Install the skill for the specified agent(s): copilot, claude. Use --agent all for every detected agent (skill tools only)
--all Install all recommended tools
--docs Opens the documentation for azd tool install in your web browser.
--dry-run Preview what would be installed without making changes
-h, --help Gets help for install.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd tool list in your web browser.
-h, --help Gets help for list.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd tool show in your web browser.
-h, --help Gets help for show.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--agent strings Uninstall the skill from the specified agent(s): copilot, claude. Use --agent all (or omit --agent) to remove the skill from every agent it is installed through (skill tools only)
--all Uninstall all installed tools
--docs Opens the documentation for azd tool uninstall in your web browser.
--dry-run Preview what would be uninstalled without making changes
-h, --help Gets help for uninstall.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--agent strings Update the skill for the specified agent(s): copilot, claude. Use --agent all for every detected agent (skill tools only)
--all Update all installed tools
--docs Opens the documentation for azd tool update in your web browser.
--dry-run Preview what would be updated without making changes
-h, --help Gets help for update.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
Provision and deploy your project to Azure with a single command.
azd up [flags]
Options
--docs Opens the documentation for azd up in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for up.
-l, --location string Azure location for the new environment
--subscription string ID of an Azure subscription to use for the new environment
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--channel string Update channel: stable or daily.
--check-interval-hours int Override the update check interval in hours.
--docs Opens the documentation for azd update in your web browser.
-h, --help Gets help for update.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
--docs Opens the documentation for azd version in your web browser.
-h, --help Gets help for version.
Options inherited from parent commands
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
-e, --environment string The name of the environment to use.
--no-prompt Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically. Automatically enabled when azd detects a CI/CD or AI-agent environment; set AZD_NON_INTERACTIVE=false to opt out of that automatic enablement.
* fix(ai eval): reconcile evaluation runtime and authoring contracts
Project the evaluation runtime and existing regression closure from #10307. Keep CLI matrix tests and evaluation documentation in the upper layer.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): compose reviewed April simulation and dataset corrections
Project only the 15 reviewed lower-layer postimages from 571a607a86436510287c4bc434116349bb9197f3. Leave both READMEs and the complete simulation-model matrix test in the upper layer.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): integrate migration and evaluation workflows
Import the sealed 59-path upper split and reviewed historical-pin documentation correction. Source migration admission remains held pending controlled fixes.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): validate migration metadata before selection
Apply the admitted source/cache migration guards and sentinel propagation, restore stored nightly promotion, and compose only the validation paragraph over the approved historical documentation correction.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): move upper-only fixture setters out of lower layer
Remove exactly two unused method declarations from the shared init fixture. Their unchanged bodies are assigned to the upper transaction-test file; fixture fields, defaults and runtime behavior remain unchanged.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(core): integrate admitted watcher and registry corrections
Preserve the exact reviewed watch closure, Windows staging retries, strict registry schema, historical documentation, seven-CR encoding successor and one-word spelling disposition. Private composition for the final dependent source update.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: reconcile startup deletions and correct historical evidence
Account for files removed before their parent watch is registered and retain ignore filtering. Replace unretained personal-feed proof claims with the qualified illustrative historical-pin guidance.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ci): preserve go-fix diagnostics and modernize eval regression
Handle go fix -diff exit status without losing its suggested patch under bash errexit, and retain stderr for real package-load failures. Apply the pinned Go modernization to the simulation model regression fixture.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* refactor: move extension integration into a separate stack layer
Restore the four reviewer-named extension directories to lower head dc22843. Preserve complete integration postimages and original authorship in source commit 24e733e (tree 82ec2f1) for the isolated top layer. This is scope extraction, not removal from the final stack.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs: distinguish verified personal artifacts from canonical history
Read-only immutable-registry and Windows archive/member checks corroborate the personal-source hashes. Correct the overbroad absence qualification, attribute the separate historical-install report, and retain canonical availability and unproven source-binding/migration caveats. No artifact executed or published.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): preserve initial file deletions during startup reconciliation
Use the admitted startup reconciliation for file-to-directory replacement, observed Create bookkeeping, directory-only ignore semantics and cancellation/error preservation. Retain the concurrent startup deletion regression and diagnostic wording unchanged. Only the two reviewed watch postimages are changed; preserve helper extraction, documentation, workflow diagnostics and Go modernization.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: isolate recovery metadata and unblock watcher event accounting
Snapshot persisted extension metadata without copying runtime locks. Move created-file stat calls outside the event mutex using revision-guarded pruning and coherent change snapshots; cover aliasing and deterministic blocked-I/O/new-event regressions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore(ai eval): move go-fix diagnostics out of runtime PR
User-directed: restore the shared lint-go workflow to the canonical main content. Its diagnostic correction will be submitted separately as a CI-only pull request.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): join pending directory discovery before reporting
Project the snapshot-barrier correctness fix from #10300 (1be9d87) onto the existing coalesced root-rescan owner. Wait outside the accounting lock while the independent consumer drains backend events. Cover in-flight and queued registration, backpressure, immediate cancellation and reporting after shutdown.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate mapped local primary interactions before mutation
Reuse shared dataset interaction validation for every explicit local row, including rows after max_samples. Cover run/create/up mappings and stored contracts while preserving empty arrays and typed non-primary custom fields. Bounded projection of reviewed e0ae43f without unrelated upper ancestry.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): remove dismissed personal-feed version ordering workaround
Private proposal only. Remove version migration ordering, schema/config additions, source/cache/update validation, related tests and migration-specific documentation. Retain ordinary SemVer product behavior and independent upgrade recovery with ordinary version fixtures; preserve current watcher, helper, CI and dependency bytes. No public push or packaging.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): clarify editable rubric download fields
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): keep startup filesystem lookups outside accounting lock
Guard initial-file reconciliation with temporary per-path event revisions, preserving newer creations and writes while retaining original deletions confirmed by a concurrent Remove. Discard startup revisions after reconciliation.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs: keep extension authoring outside core feature status
Remove only the extension authoring section; retain the existing feature stages and the extension README contract.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): reject unsafe installed IDs before recovery staging
Reject separators and empty or dot path segments before any backup filesystem mutation; preserve ordinary extension ID compatibility.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): retain task completion as the init default
Restore the established four-evaluator picker and single task-completion default. Preserve explicit composite selection, authored configuration and existing best-effort catalog validation.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): align generation handoff with the restored default
Name the task-completion default and clarify that offline picker candidates are filtered against a read catalog. Preserve the pre-existing catalog validation behavior.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore: restore exact main extension registry schema bytes
Private batch preparation; retain the base schema line endings without normalization.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): complete lower source-contract residual projection
Retain retrieved response bindings and conservatively classify unknown source contracts. Strengthen source-managed response and rubric metadata regression coverage without replacing later stack recovery, model or authoring decisions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): describe current extension behavior
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): clarify run pass-rate operands
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: bound watcher subtree discovery and reconcile startup renames
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): reject inconsistent run pass-rate counts
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate static conversation dataset rows before init writes
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): use generic labels and plain regression comments
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): preserve repository bug-reference conventions
Restore plain bug-number comments and existing bug-bash wording while retaining the requested generic test and fixture names.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): report unavailable partial rates and clarify source caps
Require a positive denominator when rendering partial run counts. Cover the shared renderer, summary, output and simulation views while preserving valid zero-percent and complete zero-count behavior. Clarify that trace/response sources reject positive max_samples while explicit local sources support caps.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): retain durable recovery metadata and replacement identity
Remove failed replacement files and records using the registry ID, while uninstalling and restoring the original installed ID. Persist an owner-only metadata snapshot before backup staging and retain usable recovery paths when metadata restoration fails. Cover case-variant upgrades and real on-disk recovery-save and partial-write failures.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): remove hidden project save acknowledgment
Treat failed project wiring responses as uncertain, retain the scaffold for manual inspection, and keep mutation retries disabled without relying on private gRPC metadata.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): retain failed upgrade recovery state
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): retain late startup rename deletions
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* refactor: keep upgrade recovery separate from watcher fixes
Remove the watcher reliability implementation and tests from this stacked PR so the focused watcher work can be inherited independently from #10300.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): reject trailing config documents
Make the runtime strict decoder reject a second YAML document, matching authoring behavior.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): validate interaction array elements
Treat interaction arrays as valid only when every element is a message object, while preserving accepted empty arrays.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Align #10311 camelCase guidance
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): reject inconsistent terminal counts
Validate every terminal outcome and reject totals whose reported outcomes exceed the run total before applying quality gates.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): preserve dependency changes during recovery
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): align empty dataset override classification
Expect the conflicting-arguments code adopted from main in the direct local-source start-path regression.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): preserve complete result and sparse row data
Validate rendered pass rates against every reported terminal count and retain optional local-source bindings when their columns appear on any row without making those columns universally required.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): verify Windows rename retry
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): use the Foundry connections API version
Send the project data-plane preview version required by the connections contract and cover both the selected constant and paged wire requests.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): verify metadata snapshot isolation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate typed result counts
Keep the reported-count map for presence and display while validating pass rates against the original typed values so negative terminal counts cannot become zeros.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): preserve connection catalog service errors
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ge (#10320)
* fix(ai eval): reconcile evaluation runtime and authoring contracts
Project the evaluation runtime and existing regression closure from #10307. Keep CLI matrix tests and evaluation documentation in the upper layer.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): compose reviewed April simulation and dataset corrections
Project only the 15 reviewed lower-layer postimages from 571a607a86436510287c4bc434116349bb9197f3. Leave both READMEs and the complete simulation-model matrix test in the upper layer.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): integrate migration and evaluation workflows
Import the sealed 59-path upper split and reviewed historical-pin documentation correction. Source migration admission remains held pending controlled fixes.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): validate migration metadata before selection
Apply the admitted source/cache migration guards and sentinel propagation, restore stored nightly promotion, and compose only the validation paragraph over the approved historical documentation correction.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): move upper-only fixture setters out of lower layer
Remove exactly two unused method declarations from the shared init fixture. Their unchanged bodies are assigned to the upper transaction-test file; fixture fields, defaults and runtime behavior remain unchanged.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(core): integrate admitted watcher and registry corrections
Preserve the exact reviewed watch closure, Windows staging retries, strict registry schema, historical documentation, seven-CR encoding successor and one-word spelling disposition. Private composition for the final dependent source update.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: reconcile startup deletions and correct historical evidence
Account for files removed before their parent watch is registered and retain ignore filtering. Replace unretained personal-feed proof claims with the qualified illustrative historical-pin guidance.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ci): preserve go-fix diagnostics and modernize eval regression
Handle go fix -diff exit status without losing its suggested patch under bash errexit, and retain stderr for real package-load failures. Apply the pinned Go modernization to the simulation model regression fixture.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* refactor: move extension integration into a separate stack layer
Restore the four reviewer-named extension directories to lower head dc22843. Preserve complete integration postimages and original authorship in source commit 24e733e (tree 82ec2f1) for the isolated top layer. This is scope extraction, not removal from the final stack.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs: distinguish verified personal artifacts from canonical history
Read-only immutable-registry and Windows archive/member checks corroborate the personal-source hashes. Correct the overbroad absence qualification, attribute the separate historical-install report, and retain canonical availability and unproven source-binding/migration caveats. No artifact executed or published.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): isolate evaluation integration and regression coverage
Restore the complete exact 35-path integration delta in azure.ai.agents, azure.ai.dataset, azure.ai.evaluations and microsoft.azd.extensions from source 24e733e (tree 82ec2f1) using a binary diff against parent 1db6c17. Source 24e and its original authored ancestors remain reachable without rebasing or rewriting history; merged lower dc22843 modernization is preserved. Reviewer JeffreyCA requested this separate extension integration scope. Exact source behavior, versions, dependencies and artifact identities remain unchanged; source-only offline validation, not release or scenario acceptance.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): preserve initial file deletions during startup reconciliation
Use the admitted startup reconciliation for file-to-directory replacement, observed Create bookkeeping, directory-only ignore semantics and cancellation/error preservation. Retain the concurrent startup deletion regression and diagnostic wording unchanged. Only the two reviewed watch postimages are changed; preserve helper extraction, documentation, workflow diagnostics and Go modernization.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: isolate recovery metadata and unblock watcher event accounting
Snapshot persisted extension metadata without copying runtime locks. Move created-file stat calls outside the event mutex using revision-guarded pruning and coherent change snapshots; cover aliasing and deterministic blocked-I/O/new-event regressions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore(ai eval): move go-fix diagnostics out of runtime PR
User-directed: restore the shared lint-go workflow to the canonical main content. Its diagnostic correction will be submitted separately as a CI-only pull request.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): join pending directory discovery before reporting
Project the snapshot-barrier correctness fix from #10300 (1be9d87) onto the existing coalesced root-rescan owner. Wait outside the accounting lock while the independent consumer drains backend events. Cover in-flight and queued registration, backpressure, immediate cancellation and reporting after shutdown.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate mapped local primary interactions before mutation
Reuse shared dataset interaction validation for every explicit local row, including rows after max_samples. Cover run/create/up mappings and stored contracts while preserving empty arrays and typed non-primary custom fields. Bounded projection of reviewed e0ae43f without unrelated upper ancestry.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): remove dismissed personal-feed version ordering workaround
Private proposal only. Remove version migration ordering, schema/config additions, source/cache/update validation, related tests and migration-specific documentation. Retain ordinary SemVer product behavior and independent upgrade recovery with ordinary version fixtures; preserve current watcher, helper, CI and dependency bytes. No public push or packaging.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): clarify editable rubric download fields
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): keep startup filesystem lookups outside accounting lock
Guard initial-file reconciliation with temporary per-path event revisions, preserving newer creations and writes while retaining original deletions confirmed by a concurrent Remove. Discard startup revisions after reconciliation.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs: keep extension authoring outside core feature status
Remove only the extension authoring section; retain the existing feature stages and the extension README contract.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): reject unsafe installed IDs before recovery staging
Reject separators and empty or dot path segments before any backup filesystem mutation; preserve ordinary extension ID compatibility.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): retain task completion as the init default
Restore the established four-evaluator picker and single task-completion default. Preserve explicit composite selection, authored configuration and existing best-effort catalog validation.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): align generation handoff with the restored default
Name the task-completion default and clarify that offline picker candidates are filtered against a read catalog. Preserve the pre-existing catalog validation behavior.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore: restore exact main extension registry schema bytes
Private batch preparation; retain the base schema line endings without normalization.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): qualify host-acknowledged init rollback
Keep the existing no-acknowledgment scaffold-retention behavior. Clarify that rollback/retry tests model a separately implemented host capability, not stock-host support from an extension update.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai agents): tag all deploy-scenario commands
Include show and invoke goals and always-run down cleanup in both affected Tier1b scenario tags. Companion init producer is unchanged; no scenario execution.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): complete lower source-contract residual projection
Retain retrieved response bindings and conservatively classify unknown source contracts. Strengthen source-managed response and rubric metadata regression coverage without replacing later stack recovery, model or authoring decisions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): describe current extension behavior
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): clarify run pass-rate operands
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): describe current behavior without change history
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix: bound watcher subtree discovery and reconcile startup renames
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): reject inconsistent run pass-rate counts
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(agents): preserve evaluation guidance with service documentation
Retain independent deployment guidance when a local README replaces the invocation link. Cover the manifest and README combinations and remove duplicated evaluator documentation.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate static conversation dataset rows before init writes
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): supply completed rows in inherited static fixtures
Qualify static identity and structure fixture setup without changing assertions or production code.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): use generic labels and plain regression comments
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): preserve repository bug-reference conventions
Restore plain bug-number comments and existing bug-bash wording while retaining the requested generic test and fixture names.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test: remove release label from service-refusal regression name
Assertions and executable test body are unchanged; conversation fixture fixes were already published and are preserved.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): report unavailable partial rates and clarify source caps
Require a positive denominator when rendering partial run counts. Cover the shared renderer, summary, output and simulation views while preserving valid zero-percent and complete zero-count behavior. Clarify that trace/response sources reject positive max_samples while explicit local sources support caps.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): retain durable recovery metadata and replacement identity
Remove failed replacement files and records using the registry ID, while uninstalling and restoring the original installed ID. Persist an owner-only metadata snapshot before backup staging and retain usable recovery paths when metadata restoration fails. Cover case-variant upgrades and real on-disk recovery-save and partial-write failures.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): remove hidden project save acknowledgment
Treat failed project wiring responses as uncertain, retain the scaffold for manual inspection, and keep mutation retries disabled without relying on private gRPC metadata.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): retain failed upgrade recovery state
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): remove obsolete project-save acknowledgment coverage
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(watch): retain late startup rename deletions
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate new local dataset names
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): match simulation mapping payload
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(ai eval): distinguish dataset create names
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* refactor: keep upgrade recovery separate from watcher fixes
Remove the watcher reliability implementation and tests from this stacked PR so the focused watcher work can be inherited independently from #10300.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): reject trailing config documents
Make the runtime strict decoder reject a second YAML document, matching authoring behavior.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): validate interaction array elements
Treat interaction arrays as valid only when every element is a message object, while preserving accepted empty arrays.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Align #10311 camelCase guidance
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(eval): reject inconsistent terminal counts
Validate every terminal outcome and reject totals whose reported outcomes exceed the run total before applying quality gates.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): preserve dependency changes during recovery
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* docs(eval): align authored keys with camelCase
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(ai eval): align empty dataset override classification
Expect the conflicting-arguments code adopted from main in the direct local-source start-path regression.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(eval): align empty override validation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): preserve complete result and sparse row data
Validate rendered pass rates against every reported terminal count and retain optional local-source bindings when their columns appear on any row without making those columns universally required.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): validate setup prerequisites
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): verify Windows rename retry
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): use the Foundry connections API version
Send the project data-plane preview version required by the connections contract and cover both the selected constant and paged wire requests.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): distinguish pinned dataset reuse
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(extensions): verify metadata snapshot isolation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): validate typed result counts
Keep the reported-count map for presence and display while validating pass rates against the original typed values so negative terminal counts cannot become zeros.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): retain authored dataset pins
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(extensions): prepare for current protobuf contracts
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(ai eval): preserve connection catalog service errors
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(evaluations): preserve authored dataset pins during init
Read selected inline and referenced version pins without decoding unrelated declarations. Keep authored pins authoritative over the name-only init accumulator and cover pinned reuse through actual init commands.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 363cf639-62b2-41a0-bb07-a011ea87e819
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: root-dispatcher <root@example.invalid>
Co-authored-by: Sashank Kolli <sakoll@microsoft.com>
Copilot-Session: 363cf639-62b2-41a0-bb07-a011ea87e819
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prevent file watching from losing changes, retaining vanished temporary files, or stalling during registration and shutdown.
Validation
Offline accounting, queue, lifecycle, race, and final-snapshot regressions passed. Hosted artifact generation has a Python dependency/permission failure; aggregate CI is not claimed green. This is current-path accounting, not inode-generation tracking or an atomic snapshot of unconsumed kernel events.
Fixes #10302.