Questions tagged [az]
86 questions
1
vote
1 answer
AZ Devops Yaml Release?
I don't know if is already released az devops extension to create pipeline release with AZ CLI.
There are post relating to 1y ago.
I found documentation here but I can't understant how to create various stage of release…

Cyber.Drunk
- 165
- 2
- 12
1
vote
3 answers
Terraform: Azure CLI Authorization Profile was not found. Please ensure the Azure CLI is installed
I have installed az-cli using azure link and terraform apt-get.
Getting below error while
Error: Error running plan: 1 error(s) occurred:
provider.azurerm: Error building AzureRM Client: Azure CLI Authorization Profile was not found. Please ensure…

Nikesh Devaki
- 2,091
- 2
- 16
- 24
1
vote
1 answer
AzureRm Add-AzureCertificate equivalent in Az
Ahead of the deprecation of the AzureRM powershell cmdlets later this year I am updating some of our infrastructure scripts to use the Az powershell cmdlets rather than AzureRM.
One of our scripts uploads SSL certificates to Azure Cloud…

rcbevans
- 7,101
- 4
- 30
- 46
1
vote
0 answers
Powershell Set-AzDataLakeStoreItemAclEntry Error occured while sending the request
Trying to execute the following command in Powershell ISE
Set-AzDataLakeStoreItemAclEntry -Account "********" -Path "/raw2" -AceType Group -Id "******************" -Permissions All
I only have the Az module installed, no Rm
But I get the following…

dstiles74
- 11
- 3
1
vote
1 answer
Set Azure function appsettings via PowerShell removes special characters
I use an Azure function and set the environment variables via PowerShell with the command:
az functionapp config appsettings set --resource-group $myResourceGroup --name $myAzureFunction --settings @appSettingsAsArray.
This works well until…

Changer
- 85
- 1
- 7
1
vote
0 answers
No module named 'azure.mgmt.containerservice.v2019_08_01'
I am getting an error while working with Azure CLI az. I am using azure version of 2.0.80. and I am using CentOS 7. When I run az command az aks update i am getting error like
The command failed with an unexpected error. Here is the traceback:
No…

Afnan Ashraf
- 174
- 1
- 14
1
vote
1 answer
Error when trying to show an event subscription in Azure CLI for eventgrid
I have an Azure Event Grid subscription, which is returned when I run the following code:-
az eventgrid event-subscription list --resource-group [my resource group]
This returns a list of the event subscriptions that I have.
The id is displayed as:…

Matthew Darwin
- 325
- 1
- 10
1
vote
1 answer
Convert powershell azure command into CLI
I need to convert below into a cli command into a CLI command and need some help.
New-AzDnsRecordSet -Name www -RecordType A -ZoneName host.com -ResourceGroupName devdnsgroup -Ttl 3600 -DnsRecords (New-AzDnsRecordConfig -IPv4Address…

Joelgullander
- 1,624
- 2
- 20
- 46
1
vote
3 answers
How to pass a variable into the 'az pipelines variable-group variable create' command
I am trying to use the "az pipelines variable-group variable create ..." command to create a variable which references a different variable. e.g.
az pipelines variable-group variable create --project MyTestProject --
group-id 15 --name…

Gary D
- 51
- 1
- 4
1
vote
1 answer
Is it possible to publish cloud service package using AZ powershell script?
I want to find out is it possible to deploy classic cloud service package (Microsoft.ClassicCompute) to Azure deployment slot with AZ powershell.
There is a classic service inside a resource group already created in Azure. A package that is going to…

Nikolay
- 77
- 1
- 8
1
vote
1 answer
Run Powershell commands on Azure Function with az template
I would like to write a script which pulls Azure SQL database into Azure SQL Elastic Pool. But that should be running from Azure Function
But got this error:
ERROR: The specified module 'AzureRM.Compute' was not loaded because no valid module file…

Akash Samal
- 87
- 1
- 9
1
vote
0 answers
Retreive Azure usage cost using the cli
I'd like to retrieve the current cost of my azure usage using the cli. On the Azure UI I can easily see the total costs in Subscriptions:
The closest I can get to retrieving costs is using the az consumption usage list command:
az consumption usage…

zoltanctoth
- 2,788
- 5
- 26
- 32
1
vote
1 answer
create file share in azure using az cli
I want to create a file share in azure storage account using command line .
i am using the command az storage share create --name myfile --account-name $NAME --account-key $key . but it is showing an error.
I also tried azcopy make "url for file…

DEEPAK
- 13
- 1
- 3
1
vote
1 answer
How to determine which API Permissions are necessary to run a particular Azure PowerShell command?
I have a service principal that I use for automation. It has the Directory.Read.All permission in Microsoft Graph for our Azure Active Directory.
It cannot run the Set-AzSqlServerActiveDirectoryAdministrator command. The error I get is:
Cannot…

Richard D Lawson
- 325
- 1
- 9
1
vote
2 answers
Error while accessing data from Azure table using Get-AzTable Powershell script
Im getting the below error when i tried to fetch the data from Azure Table storage using Get-AzTableRow -table
Get-AzTableRow -table $table -customFilter $filter1
Error message:
Method invocation failed because…

Sajiv Sriraam
- 189
- 1
- 2
- 9