Skip to main content
1 vote
1 answer
59 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 / ...
Daniel M.'s user avatar
  • 305
0 votes
1 answer
46 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....
fahadash's user avatar
  • 3,313
0 votes
0 answers
31 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 ...
ClaudeVernier's user avatar
1 vote
0 answers
32 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 ...
Neha Bhadwal's user avatar
0 votes
0 answers
58 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. ...
Herald Gjura's user avatar
0 votes
1 answer
51 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 ...
Imran Sh's user avatar
  • 1,806
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 ...
Heemanshu Bhalla's user avatar
1 vote
1 answer
134 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 ...
David Alejandro García García's user avatar
1 vote
1 answer
108 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/...
Daniel M.'s user avatar
  • 305
0 votes
1 answer
87 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 ...
Idan Shalom Agamy's user avatar
1 vote
1 answer
136 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=&...
Herald Gjura's user avatar
-1 votes
2 answers
78 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:...
David Alejandro García García's user avatar
0 votes
1 answer
167 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 ...
Hiten Samalia's user avatar
0 votes
1 answer
87 views

Is it possible to automate App Registration in the Azure portal using only a custom template?

I'm attempting to automate Azure App Registration using an ARM template with Azure CLI (AzureCLI) deployment scripts and also used powershell scripts. My goal is to create an app and extract its appId ...
Sanjith's user avatar
0 votes
1 answer
95 views

Github Action to deploy to Azure fails (no changes made) - "Containerapp does not exist"

Our deployments have recently started failing with the following error, despite no changes made to Azure, GitHub, or the workflow file: ERROR: The containerapp 'sample-name' does not exist To ...
Santi's user avatar
  • 779

15 30 50 per page
1
2 3 4 5
159