Questions tagged [azure-cli]

The tag has no usage guidance, but it has a tag wiki.

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

How to correctly change directory/file rights (with chmod 777)?

I cd to: '/Users/name/.azure/config' Where I execute: sudo chmod -R 777 ./ Then when I try to run: az configure --defaults group=fake-resource-group I get: Permission denied: '/Users/name/.azure/...
0
votes
1answer
61 views

Downloading Entire Azure Blob File Storage to a Local HDD

I currently need to download all the files from these 2 file shares within azure blob storage to a local HDD, both file shares in total have 400GB enter image description here Example of where the ...
1
vote
2answers
435 views

How do I check if a VM already exists via Azure CLI?

This is a working solution but not very clean: if [ "$(az vm list -d -o table --query "[?name=='VM_NAME']")" == "$(az vm list -d -o table --query "[?name=='...
0
votes
1answer
39 views

How to Connect Two Azure Virtual Network Gateways in Different Azure Directories

My interpretation of the Microsoft documentation leads me to believe that I can connect two Virtual Network Gateways within two different Azure Directories but it will need to be done via PowerShell. ...
0
votes
1answer
139 views

Azure Cloud Shell in Windows Terminal App

Once Azure Cloud Drive shell of Windows Terminal, it seems to default to PowerShell. I can switch to Bash by typing Bash. But once inside BASH shell can I switch to PowerShell again? Typing PS or ...
3
votes
0answers
220 views

How I can stop a Azure VM without deallocating via Portal

If I work with VMs from Azure CLI, I can start, stop and deallocate my VM. It works like expected. If I use the portal web interface, I see the start function and a stop function. But this stop ...
1
vote
1answer
2k views

Azure CLI reports missing credentials to access storage service after login

I'm trying to figure out how login works for Azure CLI. I've already logged in with: az login and everything seems to work perfectly, but when I try to run any other commands, e.g.: az storage blob ...
1
vote
0answers
757 views

Azure CLI Login through a Proxy

Ok .. so I'm pretty much lost. Task : execute a successful az login --service-principal -u XXX -p XXX --tenant something.onmicrosoft.com (Or tenant ID) From A server on the Azure Cloud that has no ...
0
votes
1answer
629 views

deployment failed using AzureDevops

I'm followin this Azure Devops lab: https://azuredevopslabs.com/labs/vstsextend/github-azurepipelines/#task-4-embedding-automated but when I'm deploying the app this error appears: There were ...
0
votes
1answer
245 views

How to setup az library on CentOS Linux release 7.6.1810 (Core)

I am trying to use az library on CentOS Linux release 7.6.1810 (Core), but when I run az --version the following message is shown. [azure@cdh-raw-master ~]$ az --version Traceback (most recent call ...
0
votes
1answer
98 views

Upload Custom VHD image to Azure Stack Market Place

I've uploaded a VHD image to blob storage and create a image from that and create VM from that successfully. But when creating new VM in Operating System Disk Image my image is not showing. I tried to ...
0
votes
1answer
373 views

List the current OS users of Linux VM on Azure Cloud

I want to add the multiple users on my Linux VM on Azure cloud, i could find the instruction on https://docs.microsoft.com/en-us/cli/azure/vm/user?view=azure-cli-latest, however strangely enough there'...
0
votes
0answers
648 views

Azure CLI to list opened ports

Following up on Azure CLI to open ports, now, is there any Azure CLI command that can show/list what the open ports are of a VM? Thanks
1
vote
1answer
186 views

Getting an “you must upgrade Azure CLI” error when attempting to run Enterprise Bot Template in Visual Studio 2017 but my Azure CLI is up to date

I’m trying to deploy the Enterprise Bot Template using VS 2017 and I got the following error when running the msbot clone services code in the ReadMe file. C:\Users\xxx\Documents\Visual Studio 2017\...
2
votes
2answers
282 views

Azure from Powershell, deploying to the wrong subscription

I'm trying to figure out if i deploy something from my powershell, that it is deploying to the wrong subscription which is in no way connected to eachother, except for that i have previously been ...
0
votes
1answer
221 views

How to install OSSEC on virtual machine in azure

I want to install Open Source Host based Intrusion Detection System(OSSEC) on virtual machine of Linux Operating system in Azure .There is no proper documentation on How to install OSSEC in Azure. Any ...
8
votes
3answers
12k views

Azure CLI to check VM status

Azure CLI allows people to start & stop VMs. However, is there any Azure CLI command that can show the VM status? I.e., whether it is started or being stopped? Thx.