azure-cli2 Questions
10
I am using Azure CLI in bash within PowerShell in Windows 10. I sit behind a corporate proxy. My goal is to automate the deployment and setup of Azure resources.
Some of the Azure CLI commands wor...
Stringed asked 1/4, 2019 at 21:17
6
Solved
Using the Azure CLI 2.x, I cannot find a way to "add a Scope" under the expose an API section in Azure AD Portal.
What I do see is if I pass the --identifier-uris when the app is created...
Outvote asked 30/6, 2020 at 20:15
4
Solved
I try to pull image from an ACR using a secret and I can't do it.
I created resources using azure cli commands:
az login
az provider register -n Microsoft.Network
az provider register -n Microsof...
Chosen asked 27/3, 2018 at 11:48
8
Solved
I have 3 subscription in my Azure Account, I need to change the default subscription. When i Run the command:
azure account list
I have this output:
I have tried to change the default or cu...
Entablement asked 20/7, 2016 at 7:36
7
Solved
Trying to perform an az cli login using a Service Principal and it is throwing an error stating No subscriptions found for <Service_Principal_AppId>. If this is expected, use '--allow-no-subs...
Mockup asked 1/4, 2019 at 14:19
2
I'm trying to upload blobs using "az storage blob upload-batch". I got below two exceptions.
##[error]Azure CLI 2.x is not installed on this machine.
##[error]Script failed with error: E...
Aruspex asked 23/12, 2021 at 10:54
12
Solved
Not precisely able to understand the merit of Azure CLI on Windows environment.
Is it targetted for the audience who want to manage Azure IAAS from Linux environment?
I thought Powershell core is g...
Future asked 9/8, 2017 at 8:6
2
Solved
I would like to issue a command using Azure CLI that stops a functions app in a particular deployment slot only.
The Azure CLI 2.0 documentation Azure CLI 2.0 documentation lists the command:
az ...
Fain asked 22/1, 2018 at 13:48
4
I am using Azure Cli in Jenkins build to deploy my nodejs azure functions to azure. I need Kudu to build the npm packages to reduce the deployment time on Jenkins side.
I have SCM_DO_BUILD_DURING_D...
Happ asked 14/10, 2020 at 12:26
4
Solved
I want to get public IP address for a specific virtual machine in Azure bash command line, I have used this command so far but it returns network interface information:
az vm list-ip-addresses -g ...
Fallonfallout asked 4/3, 2019 at 9:31
3
I would like to know if there is substring function one can leverage in JMESPATH (supported by az cli).
I have the below az cli request and I want to just extract the name of the linked subnet wit...
Breazeale asked 4/12, 2020 at 17:32
6
Solved
I'm starting to write a bash script to provision a VM in a new or existing resource group so that we can enforce naming convention and configuration.
In a bash script how can I check that a resourc...
Forestforestage asked 27/9, 2017 at 22:13
2
Solved
Is it possible to get Azure Service Bus primaryConnectionString with AZ CLI?
Input parameters:
Resource Group
Service Bus Name
Locative asked 26/7, 2017 at 17:33
1
Solved
I would like to figure out if my Azure VM (Windows + Linux) is Gen1 or Gen2. Ideally I want to get this to work via az cli or from the actual server itself. I have tried az vm list -g RG-Name -d bu...
Electrometer asked 10/9, 2020 at 3:2
4
Solved
I am getting crazy to achieve this very simple task.
I need to set an Output Variable in an Azure CLI task on Visual Studio Team Services, because next task in the Release definition will be execut...
Scarlettscarp asked 14/3, 2018 at 16:27
1
How could someone implement the az login (Azure CLI) experience in a C# Console application?
In that case, a browser window is opened, the user authenticates and after that he can access the priva...
Endear asked 7/5, 2019 at 4:47
1
© 2022 - 2024 — McMap. All rights reserved.