Repository navigation
azctx 2026.11 brings azctx up to date with the current Azure CLI (2.61 and later), broker-based sign-in and mandatory MFA across many tenants. It adds support for CI/CD pipelines and AI agents. This is a clean break from 2024.12.5: removed behavior is gone, not deprecated. Read the upgrade guide before upgrading.
Breaking changes
- Requirements: Azure CLI 2.61.0 or later, macOS 13 or later, Windows 10 or later. The 32-bit
windows/armbuild is gone; Windows on ARM64 is still supported. - Packages: Homebrew moves from a formula to a macOS-only cask, and Homebrew on Linux is no longer published. Chocolatey stays on 2024.12.5; use winget instead (see below). macOS binaries are still unsigned; the cask removes the quarantine flag from its own binary.
- Removed flags and files:
--short/-s,--filter-tenant-level,login --force-mfa, theazctxTenants.jsontenant cache, andversion -o yaml|pretty|short. Removed flags now fail with exit code 1. - Output and exit codes: Plain stderr diagnostics replace logrus output. Exit codes are fixed: 0 success, 1 error, 2 no or ambiguous match, 3 sign-in failure, 4 guard mismatch, 130 Ctrl+C. Non-interactive runs (
--no-input,CI, no TTY) fail instead of waiting for input. Declining a protected switch exits 1. - Visibility: Disabled subscriptions, tenant-level accounts and other clouds are hidden by default; use
--allto show them. - JSON:
-o jsonoutput is versioned (schemaVersion: 1), and JSON errors are a single object on stderr.
The upgrade guide has the full list with what to do for each change.
What's new
azctx -switches back to the previous subscription. Aliases, pinned subscriptions and recently used subscriptions help you find the rest.- Same-named subscriptions in several tenants are shown with tenant names, and
tenant/subscriptionqueries pick the exact one. azctx loginretries only the tenants that failed MFA, after one confirmation.azctx auth broker enablesets up broker sign-in, andazctx doctorchecks your setup.azctx envandazctx execfor Terraform, azd and pipelines, with GitHub Actions and Azure DevOps formats.azctx guard,.azctx.yamlproject expectations and protected subscriptions help prevent work in the wrong subscription.- An agent skill and a Claude Code plugin with a guard hook, plus
azctx history.
azctx never signs in itself and never handles tokens: authentication stays in the Azure CLI.
Upgrade
macOS (Homebrew). Remove the formula first, then install the cask:
brew uninstall --formula azctx
brew install --cask whiteducksoftware/tap/azctxThe cask installs Azure CLI through Homebrew if it's missing. If you already followed the commands brew update printed and azctx version still shows 2024.12.5, run:
brew uninstall --formula azctx
brew reinstall --cask whiteducksoftware/tap/azctxWindows (winget).
winget upgrade --exact --id whiteducksoftware.azctxThe winget update is in review (microsoft/winget-pkgs#482293). Until it's merged, winget upgrade still finds 2024.12.5; you can install from the release archive below meanwhile.
Windows (Chocolatey). 2026.11 isn't published to Chocolatey. Move to winget:
choco uninstall azctx
winget install --exact --id whiteducksoftware.azctxLinux and manual installs. Download the archive for your platform below and verify it before installing:
gh attestation verify azctx_Linux_x86_64.tar.gz --repo whiteducksoftware/azctxFull changelog
Breaking changes
Features
- 0e74dec feat(agents): add skill and Claude context guard (#95) (#114)
- 870bc2c feat(context): add exports, exec and project guards (#94) (#113)
- 9dd8e6e feat: MFA-aware multi-tenant login (#91) (#110)
- 3507af2 feat: add Syft integration for SBOM generation in GoReleaser workflows
- 01fbc5e feat: add broker-aware sign-in and offline doctor (#109)
- 3f051e5 feat: add ci for PRs, fix fmt issues, generate SBOMS for source artif… (#34)
- 10f33b0 feat: add tenant-first picking and switch history (#93) (#112)
- 6da4856 feat: adopt Azure CLI 2.61 profile data and settings (#89) (#108)
- 61b8292 feat: configuration aliases and safer selection (#92) (#111)
- 3ca2bb2 feat: establish stable CLI contract (#88) (#107)
- b1de95d feat: github-actions dependabot
- cfb2406 feat: replace legacy dependencies and rebuild picker (#105)
Fixes
- 25e71df fix(homebrew): depend on the Azure CLI cask (#136) (#137)
- e3579a8 fix(security): harden process and diagnostic boundaries (#96) (#115)
- 413940e fix: address validated Copilot findings across the release stack (#124)
- a589e80 fix: redact ambiguity candidate diagnostics (#138)
- 180333a fix: repair subscription selection, login streams and updates (#87) (#106)
- d3e925e fix: resolve whole-stack findings and make live Azure tests manual (#119) (#120)
- 5fb8a09 fix: restore UX feedback and quiet login (#126) (#127)
Refactoring
Documentation
- 1bf1149 docs: add contributor and agent guidance (#104)
- c28253f docs: finalize command reference and user guides (#99) (#118)
Tests
Build
- 9dde81b build(deps): bump the github-actions group with 3 updates (#141)
- 6e512d7 build(deps): bump the go-modules group with 8 updates (#140)
- f396e68 build(release): configure protected package pipelines (#98) (#117)
- 12f7fd4 build: establish Go toolchain and lint v2 baseline (#82) (#101)
CI
Chores
- 287ce39 chore: add CodeQL recommendations (#36)
- b5a6ca0 chore: refresh dependencies, README demo and PR build artifacts (#125)
Other
- cf10a7b Bump golangci/golangci-lint-action from 6.3.0 to 6.4.0 (#35)
- 4aa2bfb Bump golangci/golangci-lint-action from 6.4.0 to 6.5.0 (#38)
- 544965f Bump golangci/golangci-lint-action from 6.5.0 to 6.5.1 (#41)
- 6fb9314 Bump goreleaser/goreleaser-action from 6.1.0 to 6.2.1 (#39)
- 6d97961 Fix Homebrew installation after Azure CLI cask migration
- 068351b Merge pull request #135 from StiviiK/fix/homebrew-azure-cli-cask
- fe7d849 Merge pull request #27 from whiteducksoftware/feat/dependabot
- 5f27910 Merge pull request #31 from whiteducksoftware/feat/sbom