# Microsoft Azure CLI

Microsoft Azure CLI is a self-hosted automation app. Azure CLI is a cross-platform command-line tool for provisioning, configuring, and managing Microsoft Azure cloud resources. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5560/microsoft-azure-cli

## Description

Azure CLI is a cross-platform command-line tool for provisioning, configuring, and managing Microsoft Azure cloud resources. It lets DevOps engineers and sysadmins script deployments, configure services, and automate infrastructure tasks from the terminal instead of the web portal.

## Platform availability

Available on 1 of 10 platforms: Windows.

## Desktop and other devices

Windows.

## Health score

77/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 73 (4,665 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/Azure/azure-cli
- Official website: https://docs.microsoft.com/en-us/cli/azure/
- Docker Hub: https://hub.docker.com/r/microsoft/azure-cli
- desktop: https://github.com/Azure/azure-cli/releases/latest
- Documentation: https://docs.microsoft.com/en-us/samples/browse/?terms=azure%20cli

## Common questions

### Where should I look if Azure CLI installation fails?

Use the install guide for detailed install instructions and the install troubleshooting material for common install issues and their resolutions.

### How do I find the options for a specific Azure CLI command?

Pass the -h parameter to a group, subgroup, or command, such as az vm create -h, to see help content.

### How can I filter or format Azure CLI output in scripts?

Add --query with JMESPath syntax to select fields or filter results, and use az configure to change the default output format.

### Which exit codes are useful for Azure CLI automation?

Use exit code 0 for success, 1 for a generic error, 2 for a parser error, and 3 for a missing ARM resource from a show command.

### What built-in self-help command can diagnose an Azure CLI issue?

Run az self-help troubleshooter; the self-help extension installs automatically the first time on Azure CLI version 2.57.0 or higher.

---
Source: Our Local Host (https://ourlocalhost.com/app/5560/microsoft-azure-cli), the self-hosted and open-source app directory.
