Azure CLI reference guide: run .az commands for any Azure service
How to Run the Azure CLI with the "run .az" Command
If you are looking for a powerful and versatile tool to manage your Azure resources from the command line, you may want to try the Azure CLI. In this article, you will learn what the Azure CLI is, why you should use it, how to install it on different platforms, how to run it with the "run .az" command, and how to troubleshoot common issues.
What is the Azure CLI and Why Use It?
The Azure CLI is a cross-platform command-line tool that allows you to connect to Azure and execute administrative commands on Azure resources. You can use it to create, update, delete, or query any resource in your subscription. You can also use it to automate tasks, script workflows, or integrate with other tools.
Some of the benefits of using the Azure CLI are:
It works on any platform: Windows, macOS, Linux, or even in a browser through the .
It supports multiple authentication methods: interactive login, service principal, managed identity, or access token.
It has a consistent syntax and structure: all commands start with az, followed by a resource group name, a resource type name, an action name, and optional parameters.
It has built-in help and feedback features: you can use --help or -h to get detailed information about any command or parameter, or use az feedback to report issues or suggestions.