2,383 questions
0 votes
0 answers
22 views
Not able to rename a File using az file move AZ-Command [closed]
I am trying to rename a file uusing the AZ command on Azure CLI using the below command: az login --service-principal \\ --username "\<USERNAME\>" \\ --password "\<...
0 votes
1 answer
60 views
How to create an AKS Automatic cluster with custom node pool size and VM size (via CLI or Bicep)?
I’m trying to create an Azure Kubernetes Service (AKS) Automatic cluster with my own custom node pool configuration, such as specifying: VM size (Standard_D8s_v3) Node count or autoscaler range I ...
1 vote
1 answer
119 views
Activate PIM Entra ID role with Azure CLI or PowerShell [closed]
I'm trying to automate the activation of my PIM Entra ID role for Azure Tenant with either Azure CLI or PowerShell. I've followed the answers in Activate PIM role for Azure resources via REST / ...
0 votes
1 answer
57 views
Azure Web App: Zip deployment fails on zip files created through Powershell
I have a Azure Web App with NodeJS Runtime. I am using the following command to deploy published zip files. az webapp deploy --resource-group test-rg --name AppName001 --src-path C:\path\to\publish....
0 votes
0 answers
36 views
Azure APIM API Governance Reporting
I wanted developers to include governance metadata in their swagger and use a script to retrieve all API information to build reports of our APIs. I filled this set of x-headers as a start in my ...
1 vote
0 answers
37 views
Does health repair work on a deallocated VMSS instance?
I need to stop an Azure VMSS using azure CLI command but when I use az vmss stop command, VMSS instances start after some time. I figured out it happens due to Health Repair option being enabled on ...
0 votes
0 answers
93 views
Issue adding default ruleset to Azure WAF Policy for Azure Front Door Premium
I am trying to create a WAF Policy and assign it the Microsoft_DefaultRuleSet 2.1. I am using Azure CLI 2.76,0 I am getting this error: (BadRequest) WebApplicationFirewallPolicy validation failed. ...
0 votes
1 answer
65 views
How to deploy app service with private endpoint and custom domain in a self hosting devops agent
I have an Azure App Service which is protected via private end point and network is disabled. Also it has a custom domain which is just in company network reachable, also inside of devops agent. I ...
0 votes
1 answer
59 views
./<bundle_name> --environment <environment_name> not working on azure console
I have an azure basic Todo App with db and have command in mu yml file to generate migration bundle and i am publishing my app to azure with db migrations using github sync from visual studio code . I ...
1 vote
1 answer
137 views
Azure Command-Line Interface (CLI) error running .NET 8 console app
I'm trying to test a .NET 8 console app in Azure CLI, but I see an error. I used "Manage files" to upload the exe and all needed files: PS /home/david> ls Azure.Core.dll ...
1 vote
1 answer
120 views
Azure won't show roleDefinition for directory roles
I'm using the following API, it works with regular roles such as "Reader":"acdd72a7-3385-48ef-bd42-f606fba81ae7". az rest --method get --url 'https://management.azure.com/providers/...
0 votes
1 answer
90 views
Problem with permissions when using New-AzSubscriptionAlias in Azure CLI
I want to automate the process of creating a new Azure subscription and add all the necessary custom roles and resources required for a new environment. The problem I'm stuck on is the first step of ...
1 vote
1 answer
163 views
Configuring Azure Front Door (with Azure CLI): Adding route with multiple custom domains
I am configuring AFD with az cli and I am running in an issue. I have two custom domains: $afd_custom_domain_1="www-mydomain-com" #this is id for domain 1 $afd_custom_domain_2=&...
-1 votes
2 answers
82 views
Azure CLI Never Ending task
I'm new to Azure Cli, I have been trying a basic task, but I dont know why it never finish, any idea? I manually created a pool called (batch account/pools/) Pool ID:test-pool-id1, Operating System:...
0 votes
1 answer
179 views
Unable to bind SSL certificate to Web App using Azure CLI (works via portal & Bicep)
I'm trying to bind a certificate from Azure Traffic Manager to my Azure Web App using the Azure CLI. The first two commands work fine, but the third one fails saying the certificate with the ...