Questions tagged [azure-cli]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
57 views

az cosmosdb create command works but terminal flashes forever

When I run the following command that is part of a .ps1 file the cosmos db account is created in Azure but the terminal just presents a blinking cursor and does not move on to the rest of the commands ...
0
votes
1answer
91 views

When using web browser login with the az cli, Getting that users Object Id

I want to provision an azure key vault from terraform via the interactive powershell prompt. I want to login to to azure (az login) with the web browser. I want that users object id to set a limited ...
1
vote
1answer
74 views

Can we download Azure deployment files with Azure CLI?

Is it possible to download the deployment JSON file (the template) for an Azure resource using Azure CLI? The equivalent in PowerShell seems to be this command. https://docs.microsoft.com/en-us/...
1
vote
1answer
36 views

Not able to configure azure cli on window 2003 server

Can anyone help me on this, I am trying to install and configure azure powershell on my window 2003 aws ec2 instance. But i am getting error like it is not a valid win32 application.
1
vote
1answer
2k views

Docker push to Azure container registry fails because authentication expires before it finishes - workaround?

Using the Azure CLI on Windows Server 2016 against an Azure container registry (az login and az acr login) I'm pushing a large Windows container docker image (>10GB) with docker push. It seems the ...
0
votes
1answer
249 views

Azure tags: search for value including wildcard

We'd like to have multi-valued tags. For example, for the tag "application", we have some resources that involve several applications, i.e. Virtual Machines running several JBoss instances for ...
0
votes
3answers
4k views

Can not find kubectl executable in PATH

Azure Kubernetes Service created and now to open Kubernetes dashboard, following the steps and getting error: az : ERROR: Can not find kubectl executable in PATH). PS C:\Program Files (x86)> az ...
0
votes
1answer
1k views

Azure cli not creating role

I am trying to follow this guide and am having no luck on the az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}" step. It gives me the error below. I have tried ...
1
vote
0answers
318 views

Registration of Azure Resource Provider hangs indefinitely

I'm just starting to look into Azure and AKS. In order to do this, I have to enable a bunch of resource providers. I did this using the Azure CLI, like so: az provider register -n Microsoft.Network ...
1
vote
0answers
2k views

Azure Create VM from existing managed disk: 'Creating a virtual machine from Marketplace image requires Plan information in the request.'

Following some instructions to migrate a VM from one vnet to another, these particular instructions said to delete the VM keeping the OS drive and the launch a VM from the disk. The original VM was ...
1
vote
1answer
387 views

azure CLI 2.0 az webapp log tail cannot find the 'NAME' of my webapp

When i was using the Azure CLI 1.0, i use the following command to log tail my webapp: azure login azure site log tail MY_WEBAPP_NAME Now after i have switched to Azure CLI 2.0, i cannot find the ...