Streamline configuring Azure CLI with az init

Hello everyone and Happy New Year from the Azure CLI Team! A new year seems like a good time to share something new and we’re happy to announce az init!
az init is a new extension that gives you an easy, in-tool configuration setup option. It's intended to quickly set up global configurations suitable for your current environment. It also reduces typical onboarding friction and helps users understand some common configuration options.
az init
adjusts the same configuration file as az config
and is meant to help simplify the configuration process whereas az config
allows you to go a bit deeper.
Getting Started
To install the extension, simply run az extension add --name init
. To start configuring, run az init
. You can use preset bundles or customize your setup with a walk through to easily adjust things like syntax highlighting, output types, error output, and more!
Configuration Options
Currently, there are two preset bundles. One configures the CLI for human interaction focusing on usability and another for automation focusing on performance.
The interaction configuration sets the following:
- Table output formatting for readability.
- Verbose error output for all triggered events including warnings.
- Error remediation recommendations.
- Syntax highlighting for readability in terminal.
- Turns on the progress bar for long running commands.
The automation configuration sets the CLI to the opposite of the human interaction configuration:
- JSON output formatting for programmatic use.
- Error only output.
- Error recommendations are turned off.
- Syntax highlighting is turned off.
- Progress bar for long running commands is turned off.
If you would like a different configuration, you can aslo choose to complete a walkthrough and customize your experience. We hope you enjoy az init and would love to hear your feedback in the comments or on Twitter!
Published on:
Learn moreRelated posts
Fabric Mirroring for Azure Cosmos DB: Public Preview Refresh Now Live with New Features
We’re thrilled to announce the latest refresh of Fabric Mirroring for Azure Cosmos DB, now available with several powerful new features that e...
Power Platform – Use Azure Key Vault secrets with environment variables
We are announcing the ability to use Azure Key Vault secrets with environment variables in Power Platform. This feature will reach general ava...
Validating Azure Key Vault Access Securely in Fabric Notebooks
Working with sensitive data in Microsoft Fabric requires careful handling of secrets, especially when collaborating externally. In a recent cu...
Azure Developer CLI (azd) – May 2025
This post announces the May release of the Azure Developer CLI (`azd`). The post Azure Developer CLI (azd) – May 2025 appeared first on ...
Azure Cosmos DB with DiskANN Part 4: Stable Vector Search Recall with Streaming Data
Vector Search with Azure Cosmos DB In Part 1 and Part 2 of this series, we explored vector search with Azure Cosmos DB and best practices for...
General Availability for Data API in vCore-based Azure Cosmos DB for MongoDB
Title: General Availability for Data API in vCore-based Azure Cosmos DB for MongoDB We’re excited to announce the general availability of the ...
Efficiently and Elegantly Modeling Embeddings in Azure SQL and SQL Server
Storing and querying text embeddings in a database it might seem challenging, but with the right schema design, it’s not only possible, ...