Releases: Azure/azure-dev
Releases · Azure/azure-dev
azd-ext-azure-ai-agents_0.1.23-preview
0.1.23-preview (2026-04-16)
- [#7753] Fix
azd ai agent initto pass the current directory as a positional argument toazd init, resolving failures caused by a missingcwdassumption in the underlying azd call. - [#7729] Fix
azd ai agent runfor .NET agents. - [#7574] Add
azd ai agent sessionscommand group for listing, creating, and deleting agent sessions; improveazd ai agent filescommands with positional argument support; rename--sessionflag to--session-idacross all commands. - [#7725] Improve
--protocolflag handling inazd ai agent invoketo correctly resolve the protocol when multiple protocols are configured. - [#7640] Add toolbox (MCP) support: provision MCP toolbox connections via
FOUNDRY_TOOLBOX_*environment variables and add OAuth connection fields (authorizationUrl,tokenUrl,refreshUrl,scopes,audience,connectorName) to connection resources inazure.yaml. - [#7614] Fail fast on
azd ai agent initwhen the user is not logged in, before any file-modifying operations begin. - [#7679] Add
--protocolflag toazd ai agent invoketo explicitly select betweenresponsesandinvocationsprotocols when multiple are configured; return a clear error wheninvocationsis requested but not enabled. - [#7675] Add unit tests and testdata for the extension, covering agent YAML mapping, registry API helpers, API model serialization, and command utilities.
azure-dev-cli_1.24.0
1.24.0 (2026-04-14)
Features Added
- [#7652] Add C#/.NET hook support in
azure.yaml; hooks pointing to.csfiles are auto-detected and executed usingdotnet run, with automatic project discovery and support for single-file scripts on .NET 10+. - [#7690] Add executor-specific
config:block for hooks inazure.yaml; configurepackageManagerfor JS/TS hooks,virtualEnvNamefor Python hooks, andconfiguration/frameworkfor .NET hooks. - [#7685] Add
.azdignoresupport forazd init; template authors can create a.azdignorefile in the template root to exclude contributor-only files (e.g.,SECURITY.md,.github/) from being copied to consumer projects. - [#7672] Add AI model quota preflight check;
azd provisionnow detects Azure Cognitive Services model deployments in the Bicep snapshot and validates quota availability before provisioning, warning on exceeded quota or unrecognized model names.
Breaking Changes
- [#7290]
azd init -t <template>now creates a project directory named after the template (like git clone) instead of initializing in the current directory. Pass . as the directory argument to use the previous behavior:azd init -t <template> .
Bugs Fixed
- [#7689] Fix service-level hooks referencing shared scripts via relative paths (e.g.,
../../hooks/script.ps1) failing with "hook script path escapes project root"; the containment boundary is now the project root instead of the service directory (regression in 1.23.15). - [#7642] Fix arrow keys printing escape sequence characters (
[A,[B,[C,[D) in the filter text of select and multi-select prompts when running azd in PowerShell. - [#7703] Fix
azd updateon Windows failing when PowerShell 7 and 5.1 are both installed; resetPSModulePathbefore invoking the MSI installer to prevent module path conflicts.
azure-dev-cli_1.23.15
1.23.15 (2026-04-10)
Features Added
- [#7451] Add Python hook support in
azure.yaml; hooks pointing to a.pyscript are auto-detected and executed. Whenrequirements.txtorpyproject.tomlis present, a virtual environment is created and dependencies are installed automatically. - [#7626] Add JavaScript and TypeScript hook support in
azure.yaml; hooks pointing to.jsor.tsscripts are auto-detected, with automaticnpm installfrompackage.jsonwhen present. TypeScript scripts execute vianpx tsxwith no compile step required.
Breaking Changes
- [#7630] Replace App Service slot auto-selection heuristics with explicit slot targeting: use
AZD_DEPLOY_{SERVICE}_SLOT_NAME=productionto deploy to the main app, orAZD_DEPLOY_{SERVICE}_SLOT_NAME=<name>for a specific slot. The previous auto-pick behavior (single slot present, noSLOT_NAMEset,--no-prompt) and first-deploy push-to-all-slots behavior have been removed;azd deploywill now prompt interactively or error in non-interactive mode when slots are present andSLOT_NAMEis not set.
Bugs Fixed
- [#7618] Fix
azure.yamlhook parsing failure when mixing single-hook (map) and multi-hook (list) formats in the samehooks:block. - [#7629] Fix
azd auth tokenbeing killed by the background update check when invoked as a subprocess by extension credential providers;azd auth tokenand other fast-exit commands now skip the update check entirely. - [#7578] Fix tenant-specific re-authentication guidance for
AADSTS70043andAADSTS700082errors; azd now returns guidance targeting the correct subscription tenant when a credential fails due to a stale refresh token. - [#7549] Fix
AZURE_PRINCIPAL_IDresolution for guest and B2B users by resolving the principal identity in the subscription's resource tenant, and prefer the ARM tokenoidclaim over a Microsoft Graph call to avoid incorrect RBAC assignments. - [#7562] Fix extension lifecycle event handlers being silently dropped when multiple extensions subscribe to the same lifecycle event.
- [#7501] Fix AKS service target
postprovisionhook to skip gracefully when the AKS cluster has not been provisioned yet in a multi-phase workflow, instead of failing fatally. - [#7555] Fix Copilot error troubleshooting to skip AI analysis for timeout errors, mark Bicep missing-input and
azure.yamlconfig validation errors as non-fixable, and apply a 5-minute guard timeout to AI analysis requests.
Other Changes
- [#7557] Update bundled Bicep CLI to v0.42.1.
- [#7591] Update
azd updatesuccess message to a shorter, more actionable format. - [#7536] Filter deprecated AI model versions and retired SKUs from model selection prompts in the AI model service.
- [#7588] Fix
copilot consent listandcopilot consent revoke--actionflag to display correct valid values (all,readonly) in shell completion suggestions.
azd-ext-azure-appservice_0.1.1
0.1.1
- #7630 swap: --src production / --dst production now targets the main app; @production is also accepted. @main is deprecated with a warning. Updated help text and prompt labels.
azd-ext-azure-ai-agents_0.1.22-preview
0.1.22-preview (2026-04-10)
- [#7633] Fix
azd ai agent initto correctly setAZURE_AI_MODEL_DEPLOYMENT_NAMEwhen initializing from a manifest, template, or--model/--model-deploymentflags. - [#7635] Fix
azd ai agent invoketo persist an explicitly passed--session-idso that subsequentazd ai agent monitorcalls can reuse the session without error. - [#7636] Add positional argument support to
azd ai agent init; passing a URL, manifest path, or source directory is now auto-disambiguated and equivalent to using--manifestor--src. - [#7645] Fix
azd ai agent init -mwhen adding to an existing azd project: reuse the Foundry project from the environment, show a message when an existing azd project is detected, and prompt to resolve service name collisions.
Breaking Changes
- [#7651] Switch agent identity RBAC from a shared project-level identity to per-agent identities (
{account}-{project}-{agentName}-AgentIdentity), add developer RBAC pre-flight checks before deploy, and remove Cognitive Services OpenAI User and Monitoring Metrics Publisher role assignments; setAZD_AGENT_SKIP_ROLE_ASSIGNMENTS=trueto skip all role assignments in CI/CD environments.
azd-ext-azure-ai-agents_0.1.21-preview
0.1.21-preview (2026-04-09)
- [#7484] Detect an
agent.manifest.yamlin the current directory and prompt to use it when runningazd ai agent init. - [#7464] Prompt for agent communication protocol (responses or invocations) when using
azd ai agent initwith local code. - [#7415] Filter
azd ai agent initprompts to only show locations and models supported for agent scenarios. - [#7410] Fix
azd ai agent init --project-idwhenagent.yamldoes not contain a model resource. - [#7545] Update agent endpoint handling to use the latest Foundry agent service endpoints.
- [#7538] Fix
azd ai agent invokestreaming output to print each SSE data object on its own line. - [#7576] Add validation to
azd ai agent initto ensure the manifest path points to a file, not a directory. - [#7553] Update
azd ai agent initto stop writingAZURE_AI_PROJECT_ENDPOINTandAZURE_OPENAI_ENDPOINTtoagent.yaml;azd ai agent runnow translatesAZURE_AI_*env vars toFOUNDRY_*equivalents for local agent processes. - [#7596] Reduce noisy output during
azd ai agent initby redirecting internal log statements to the debug log file; verbose details are now only visible when--debugis used. - [#7607] Fix
azd ai agent initcontainer resource selection to save the chosen CPU/memory tier intoagent.yamland pre-select the existing tier on reruns; remove stale replica mention from post-init message. - [#7589] Fix
azd ai agent initto prompt for an existing Foundry project when the agent manifest contains no model resources.
azure-dev-cli_1.23.14
1.23.14 (2026-04-03)
Features Added
- [#7489] Promote
azd updateto public preview; the command no longer requires enabling an alpha feature flag and displays a preview notice on first use. - [#7382] Add per-layer hook support in
azure.yaml; hooks defined underinfra.layers[].hooksnow execute duringazd provision, andazd hooks runsupports a new--layerflag for targeted execution. - [#7392] Add
--non-interactiveas a global flag alias for--no-promptand support theAZD_NON_INTERACTIVEenvironment variable for enabling non-interactive mode. Thanks @spboyer for the contribution! - [#7361] Add
docker.networkoption toazure.yamlservice configuration, passing--networktodocker buildfor services that require host networking (e.g., behind corporate proxies). Thanks @spboyer for the contribution! - [#7384]
azd auth tokennow prints the raw access token by default; use--output jsonfor structured output including expiration metadata. - [#7296]
azd pipeline configno longer prompts for parameters that are outputs of earlier provisioning layers, reducing unnecessary user prompts in multi-layer deployments. - [#7401] Add a "Fix this error" option to the Copilot-assisted error troubleshooting flow, allowing the agent to directly apply a fix and collect user feedback.
- [#7397] Add
allowed_locationsfilter to thePromptLocationextension framework API and improve AI model capacity resolution to fall back to the highest valid capacity within remaining quota. - [#7043] Add Key Vault secret resolver to the extension framework, automatically resolving
@Microsoft.KeyVault(...)references in environment variables before passing them to extensions.
Breaking Changes
Bugs Fixed
- [#7314] Fix environment variable leak and broken
--debug,--cwd, and-e/--environmentflag propagation to extension commands. - [#7343] Fix nil pointer panic when
azure.yamlcontains services, resources, or hooks with empty definitions; reports all issues in a single actionable error message. - [#7356] Fix panic when
azd auth tokenis called with an unsupported--outputformat. - [#7417] Improve
azd updateerror message when the installation is managed by an administrator, with guidance to suppress update notifications viaAZD_SKIP_UPDATE_CHECK=1. - [#7298] Add code-signing verification for Windows MSI installs performed via
azd update. - [#7362] Remove unsafe global
os.Chdircall from Aspire server initialization that could cause concurrency issues in concurrent operations. Thanks @spboyer for the contribution!
Other Changes
- [#7456] Update bundled GitHub CLI to v2.89.0.
- [#7299] Add command-specific telemetry attributes for
auth login,env list,hooks run,pipeline config, andinfra generatecommands. - [#7396] Add telemetry instrumentation for preflight validation with unique rule and diagnostic IDs, tracking outcomes and warning and error counts per run.
azd-ext-azure-ai-agents_0.1.20-preview
0.1.20-preview (2026-04-02)
- [#7422] Add
/invocationsAPI support toazd ai agent invoke, enabling agents to accept arbitrary input passed directly to the agent. - [#7341] Fix
azd ai agent initwriting unnecessaryscaleconfiguration for vnext-hosted agents, which is now skipped when vnext is enabled. Thanks @spboyer for the contribution!
azd-ext-azure-ai-agents_0.1.19-preview
0.1.19-preview (2026-03-31)
- [#7327] Fix
azd ai agent initreruns to reuse an existing azd environment instead of failing when a previous attempt already created it. - [#7332] Improve
azd ai agent initperformance when discovering existing Foundry projects, including faster--project-idvalidation. - [#7355] Update generated Application Insights environment variables to reuse the selected connection and avoid redundant connection creation during deployment.
- [#7373] Fix
postdeployhook failures in projects without hosted agents so unrelated azd projects no longer error during deploy.
azure-dev-cli_1.23.13
1.23.13 (2026-03-26)
Features Added
- [#7247] Add actionable suggestion to set
remoteBuild: truefor Container Apps and AKS services when Docker is not installed or not running. Thanks @spboyer for the contribution! - [#7236] Improve
azd auth status --output jsonto exit non-zero when unauthenticated and include anexpiresOnfield, making it suitable as an auth validation endpoint for AI agents. Thanks @spboyer for the contribution!
Bugs Fixed
- [#7329] Fix nil panic and incorrect workflow continuation when user declines preflight validation warnings;
azd provisionandazd upnow exit cleanly with exit code 0. - [#7346] Fix extension startup failures on Windows caused by IPv4/IPv6 address mismatch in the gRPC server address, and increase extension startup timeout from 5s to 15s. Thanks @spboyer for the contribution!
- [#7311] Fix
.funcignoreparsing failures caused by UTF-8 BOM and incorrect negation pattern handling in zip packaging. Thanks @jongio for the contribution! - [#7250] Add targeted error suggestions for common Container Apps and ARM deployment failures including
ContainerAppOperationError,InvalidTemplateDeployment,RoleAssignmentExists, andInvalidResourceGroupLocation. Thanks @spboyer for the contribution!
Other Changes
- [#7235] Fix auth error telemetry classification to properly categorize
login_required,not_logged_in, and authentication failures under theaadservice name. Thanks @spboyer for the contribution! - [#7330] Add
azure.yamlschema metadata to enable automatic schema association in JetBrains IDEs, Neovim, and other editors via the SchemaStore catalog.