Category "azure-cli"

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