Questions tagged [azure-cli]

The Azure CLI allows Azure users to manage their Azure assets and interact with their Azure services, applications, containers, and infrastructure in an idiomatic way.

21 questions
0
votes
1 answer

When using web browser login with the az cli, Getting that users Object Id

I want to provision an azure key vault from terraform via the interactive powershell prompt. I want to login to to azure (az login) with the web browser. I want that users object id to set a limited custom access policy for it. My terraform snippet…
Justin Dearing
  • 1,037
  • 12
  • 33
0
votes
2 answers

Azure tags: search for value including wildcard

We'd like to have multi-valued tags. For example, for the tag "application", we have some resources that involve several applications, i.e. Virtual Machines running several JBoss instances for different applications. As far as I know, multi-valued…
0
votes
1 answer

Azure cli not creating role

I am trying to follow this guide and am having no luck on the az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}" step. It gives me the error below. I have tried re-logging in and no luck there either. I have…
Josh Kirby
  • 23
  • 1
  • 9
0
votes
0 answers

azure devops self-managed agent installation on Ubuntu

my environment is Ubuntu 20.04, after running ./config.cmd command and adding my correct details I get the following error: System.PlatformNotSupportedException: NTLM authentication is not possible with default credentials on this platform. at…
Shnbook
  • 11
  • 2
0
votes
1 answer

How can I be certain that a .vhd file contains an Azure VM snapshot?

How can I be certain that a .vhd file contains an Azure VM snapshot? And how can I recover said snapshot. I have read MS Learn documentation and it appears that there are multiple ways to do this. I uploaded an OS and DATA disk into Azure Storage…
EdPR
  • 1
0
votes
1 answer

Can't create a NIC using Azure CLI (BadRequestError)

Consider the following scenario: One resource-group called rg-foo which was created in the location switzerlandnorth One virtual network called vnet-switzerland-north holding one subnet called default also in the location switzerlandnorth The…
Matthias Güntert
  • 2,438
  • 12
  • 39
  • 59
1
2