Blog Post

Azure Tools Blog
3 MIN READ

Announcing Public Preview of the next generation of Azure CLI and Azure PowerShell

AakashMSFT's avatar
AakashMSFT
Icon for Microsoft rankMicrosoft
Nov 16, 2026

Today, we are announcing the public preview of the next generation of Azure CLI and Azure PowerShell: a shared command engine with new experiences for discovering commands, managing sign-in contexts and troubleshooting failures.

Whether you are managing Azure resources from the terminal or automating recurring tasks in scripts and pipelines, the goal is practical: spend less effort assembling the command and more time accomplishing the task. Install the preview alongside your existing tools and start with one workflow.

Fundamental shift 

The Azure CLI and Azure PowerShell you have been using were built in a world where the cloud had a lot less services than today, security requirements and speed of development were different.

To meet our customer’s expectations in today’s world, we are shifting how we are building the command line tools for Azure. Our approach is based on three pillars:

  • Parity betwen native command and PowerShell cmdlets
  • Meet modern security and safety requirements
  • Build for humans and agents

The new foundation is designed for a smaller disk footprint, more responsive commands and faster delivery of fixes and features. Azure CLI offers a smaller base (lean package) that can grow through service-specific extensions, while Azure PowerShell supports individual service modules rather than requiring the entire bundle.

Keep your work environments within reach

Save a sign-in context instead of rebuilding it for every task. Named profiles capture the tenant, subscription and authentication context for an environment. Switch between saved profiles, or use a different profile for one CLI command without changing the context for subsequent commands. For example: Use your Test profile to inspect a resource in a test subscription, while keeping Development as the default for subsequent commands. Profiles make the context explicit; Azure permissions still govern access.

Automate without storing secrets. Scripts and pipelines can sign in with managed identities or federated credentials, so there is no application secret to store, protect or rotate.

Watch: Introduction to Profiles

 

Find the command without the guesswork

Discover required inputs and examples where you work. The new CLI help experience organizes command information so you can move from a command group to the operation you need. Tab completion helps you discover command names and parameters as you type.

For example, when creating a resource group, you can inspect the required name and location and see an example before making a change. External AI agents can consult the same help, constructing commands from current details rather than relying only on previously learned syntax.

Turn a command failure into a next step

Get troubleshooting guidance without leaving the terminal. Optional AI-assisted troubleshooting in the CLI analyzes a failed command and its error, then offers an explanation and suggested actions.

For example, if VM creation fails because the requested size is unavailable in the chosen region, AI-assisted troubleshooting can explain the restriction and guide you through checking alternatives. You review the options before changing the size or location.

In this preview, AI troubleshooting is available in Azure CLI and is off by default. You can request diagnosis manually, enable automatic diagnosis on failures, or turn it off.

Watch: AI-Assisted Error Recovery

Help shape what comes next

This public preview is an opportunity to validate the fundamentals with your feedback. Preview coverage is limited to a subset of commands and scenarios, so it is not yet a replacement for your existing tools, and behavior may change during the preview. Check supported scenarios and known issues https://learn.microsoft.com/cli/azure/whats-new?view=azure-cli-preview before you start.

Moving forward, we will focus on expanding coverage across Azure services and everyday workflows, guided by your feedback. We will also build on these foundations with deeper AI-agent readiness, making supported commands easier for agents to discover, interpret and use reliably.

Choose the experience you use most:

Try the Quick start guides. Tell us what was clearer, where you encountered friction and which missing capability would make the biggest difference.

Updated Nov 16, 2026
Version 1.0
No CommentsBe the first to comment