Questions tagged [az]

86 questions
0
votes
1 answer

Ownership and inheritance within nested groups

If a user is an owner of Group1 and Group2 is member of Group1. My understanding was, user would be able to get ownership rights on Group2 also? I was trying to move the Onprem AD groups to Azure AD, was not sure how this will work. Any ideas?…
Daniel
  • 605
  • 1
  • 8
  • 19
0
votes
1 answer

how to use Set-AzDataLakeStoreItemAclEntry to set ACL permission for Service Principal?

how to use Set-AzDataLakeStoreItemAclEntry to set ACL permission for Service Principal? It allows me to use User as AceType with SP's ObjectID. But icon being used the ACL list will look different. It will be like If I…
OW Opex
  • 13
  • 2
0
votes
1 answer

Can we move an image in Azure to a different location (region) using UI/Command or through any other way?

I have an image,say in "UK South". I want to move it to say "East US", how can I do it ? Is there an AZ CLI command, some option on UI or any other way ? I already used "az image copy" but getting error.
KRM
  • 119
  • 1
  • 12
0
votes
1 answer

az account get-access-token - fails to fetch token in user's context

I have a user managed identity, for which I want to generate a token I tried in user's context az login az account get-access-token --resource "" I get the error Get Token request returned http error: 400 and…
user3740951
  • 1,109
  • 2
  • 20
  • 39
0
votes
1 answer

How to export az network public-ip list output to a csv?

How do I go about exporting the output to a csv? Thanks in advance az network public-ip list --query "[].{name: name, address: ipAddress}" Here's the output: [ { address: "23.101.140.39", name: foo}, { address: "23.101.140.38", name: bar}, ] I…
gbackmania
  • 772
  • 3
  • 7
  • 17
0
votes
1 answer

Register Azure App in Azure Partner Center via a cmdlet or rest api

I currently have to access the Azure Partner Portal (https://partnercenter.microsoft.com) in order to register an app registration from Azure. I'd like to automate this via a powershell script but it appears no cmdlet exist to perform this function.…
0
votes
1 answer

Azure traffic manager endpoint update fails with 'The resourceTargetId property is invalid or missing'

I am trying to update an Azure Traffic Manager endpoint with the Azure CLI, I run the following code: az network traffic-manager endpoint update \ --name ${ENDPOINT_NAME} \ --profile-name ${PROFILE_NAME} \ --resource-group…
jaletechs
  • 501
  • 1
  • 7
  • 19
0
votes
2 answers

Az Command powershell for adding urls in CORS of azure app service

I am in search of az commands (powershell) to add urls in azure app service while deploying You can refer the attached image for clarity . Thanks in advance
Jumbo
  • 35
  • 8
0
votes
1 answer

PowerShell Az module: export and import offline

I need to move PowerShell Az module from one machine to another offline (both machines have the same windows (10 Pro 1809), .net, powershell (5.1), etc versions) I can't use either Private PowerShellGet Repositories or MSI installer I run…
kagarlickij
  • 7,327
  • 10
  • 36
  • 71
0
votes
1 answer

az cli create webapp fails with ResourceNotFound error

This command fails az webapp create --resource-group my-rg -n my-app --plan my-plan with error ResourceNotFound - The Resource 'Microsoft.Web/sites/my-app' under resource group 'my-rg' was not found. To me this doesn't make sense. The very…
Sam
  • 13,934
  • 26
  • 108
  • 194
0
votes
1 answer

Not able to run Az commands on Azure Runbook

I am trying to run the Az commands inside PowerShell type Azure Runbook. At starting it does not recognize the Az commands and want me to install NuGet. Now error displayed while installing NuGet. #Set strong cryptography on 64 bit .Net Framework…
rAJ
  • 1,295
  • 5
  • 31
  • 66
0
votes
2 answers

Why don't I see Principal Name when I run az role assignment list from Azure Devops?

I m running az role assignment list -g from Azure Devops on Microsofts Hosted Agent I dont see principalName parameter in result. But same command when I run on my local in VsCode I see principalName. I checked az cli versions both MS agent and on…
Suraj
  • 135
  • 2
  • 8
0
votes
2 answers

How to trigger a Azure devops pipeline whenever there is azure keyvault secret change?

I'm trying to trigger an azure pipeline whenever there is new value-added to my secret or whenever there is a certificate change in the key vault.
Vineesha.C
  • 333
  • 3
  • 13
0
votes
0 answers

Getting Error while trying to update az module using VSCODE and Powershell 7 local install

I am trying to update powershell az module using VS Code and it gives me the error attached. Tried the same from VS Code, still the same
Pallab
  • 1,915
  • 2
  • 19
  • 46
0
votes
1 answer

passing json array with spaces to bash script for az cli tagging

I have a bash script that looks like the following and correctly passes tags to the az cli that includes spaces. RESOURCE_GROUP_NAME=$1 LOCATION=$2 TAGS_INPUT_ARGUMENT=$3 # This TAGS_INPUT_ARGUMENT needs to finally look like the TAGS below. echo…
Herb Stahl
  • 439
  • 1
  • 6
  • 23