Category "azure-cli"

How to get/print the daily cap. of the app insights using azure powershell commands?

I tried the below commands but getting this error https://aka.ms/cli_ref Read more about the command in reference docs ERROR: argument --app/-a: expected one a

azure cli command 'az functionapp create' - App Keys not generated

Do I miss something how to create a function using azure cli? How can I add a key to my function? Steps to reproduce: az storage account create --name $(Storage

What is 'az acr build' with a local context doing under the hood?

I was trying to do this in Pulumi where I had a local Dockerfile and wanted it to be sent to build the same as the command 'az acr build' sadly it kept erroring

az cli deployment fails with Python error

I am deploying ADF linked templates from ADLS through GitHub Actions and pipeline fails withy generic Python error: ERROR: 'str' object has no attribute 'get' I

Azure CLI in WSL2 uses Windows home directory

Running this in WSL2 (current folder /home/my-linux-user/): az aks get-credentials --resource-group my-resource-group --name cluster-name Outputs: Merged "clust

How to Get Azure AD Object by Object ID Using Azure CLI

In the Azure Portal, one can look-up an Azure AD object based on the Object ID as shown below: Is it possible to retrieve an Azure AD object by the Object ID u

How do I specify a managed service identity when creating an Azure Batch Pool via the Azure CLI?

I'm trying to create a batch pool via the az CLI as follows: az batch pool create --json-file foo.json. The contents of foo.json are { "id": "testpool2",

How to enable "Allow Azure services and resources to access this server" through PowerShell (Azure CLI)?

After creating a new Azure SQL server using az sql server create, how can I enable the following options through PowerShell(Azure CLI)?

Is possible to create an Azure DevOps Pull Request policy to set delete after merging automatically when setting auto-complete?

In the company I'm working we use Azure DevOps and we have a core repository with a huge amount of branches. In order to maintain this repository clearer as pos

How to create a JSON body with PowerShell which is Deserializable by .NET6 when using az rest to call a .NET6 Azure Function

We are using AzureCLI to be able to call an Azure Function endpoint upon a successful deployment. The call to get token works and the call to our azure functio

How to avoid error "conda --version: conda not found" in az ml run --submit-script command?

I would like to run a test script on an existing compute instance of Azure using the Azure Machine Learning extension to the Azure CLI: az ml run submit-script

The term 'AzCopy' is not recognized as a name of a cmdlet, function, script file

I need to copy tables from table storage into a different storage account. When attempting to execute AzCopy I'm getting the following exception: The term 'AzC