Top "Azure-cli" questions

The Azure CLI allows Azure users to manage their Azure assets and interact with their Azure services, applications, containers, and infrastructure in an idiomatic way.

What is Azure Service Principal?

My requirement is simple. I want to login to Azure through my shell script in non-interactive mode, but "az login …

azure azure-cli
Azure CLI vs Powershell?

Not precisely able to understand the merit of Azure CLI on Windows environment. Is it targetted for the audience who …

powershell azure azure-cli azure-cli2
Azure CLI in Git Bash

I am trying to use a bash (sh) script on windows to run a test deployment. I am running the …

bash azure git-bash azure-cli
How to run Azure CLI commands using python?

I want to use Azure CLI to get the list of all the VMs in my resource group. But I …

python azure azure-virtual-machine azure-powershell azure-cli
How to update azure-cli on Windows?

az --version is telling to update my CLI installation without explaining what to do. So what is the az command …

azure azure-cli
Azure DevOps: Powershell 'Get-AzSubscription' is not recognized

I am deploying an ARM template from azure DevOps using Azure PowerShell as shown below. This is subscription level deployment. …

azure azure-devops azure-pipelines azure-cli
Azure CLI 2: how to provide parameters in az group deployment create command?

I am using Azure CLI 2.0 on a windows machine and I am trying to create a Docker VM using this …

azure azure-cli azure-cli2
Set Output Variable in Azure CLI task on VSTS

I am getting crazy to achieve this very simple task. I need to set an Output Variable in an Azure …

azure azure-devops azure-pipelines-release-pipeline azure-cli azure-cli2
How to enable command completion for Azure CLI in zsh?

I've found hints at there being command completion available for bash[1] for the Azure CLI (az command), but I have …

azure zsh azure-cli zsh-completion