question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az ad sp create-for-rbac: unrecognized arguments --key-vault

See original GitHub issue

Description

Getting the following error when trying to use the --key-vault argument with the az ad sp create-for-rbac command.

The argument should be supported by Azure 2.0 CLI according to the documentation: https://docs.microsoft.com/en-us/cli/azure/ad/sp#create-for-rbac.


Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Both MSI for the Windows command-line and apt-get for Bash on Ubuntu on Windows installation methods produce the same result.

CLI Version: What version of the CLI and modules are installed? (Use az --version)

azure-cli (2.0.6)

acr (2.0.4)
acs (2.0.6)
appservice (0.1.6)
batch (2.0.4)
cdn (0.0.2)
cloud (2.0.2)
cognitiveservices (0.1.2)
command-modules-nspkg (2.0.0)
component (2.0.4)
configure (2.0.6)
core (2.0.6)
cosmosdb (0.1.6)
dla (0.0.6)
dls (0.0.6)
feedback (2.0.2)
find (0.2.2)
interactive (0.3.2)
iot (0.1.5)
keyvault (2.0.4)
lab (0.0.4)
monitor (0.0.4)
network (2.0.6)
nspkg (3.0.0)
profile (2.0.4)
rdbms (0.0.1)
redis (0.2.3)
resource (2.0.6)
role (2.0.4)
sf (1.0.1)
sql (2.0.3)
storage (2.0.6)
vm (2.0.6)

OS Version: What OS and version are you using?
Edition: Windows 10 Enterprise Version: 1607 OS Build: 14393.970

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Both cmd.exe and Bash on Windows

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
derekbekoecommented, May 19, 2017

We are following milestones and are currently on Sprint 16 - https://github.com/Azure/azure-cli/milestones?direction=asc&sort=due_date&state=open.

We release shortly after the milestone.

0reactions
tjprescottcommented, May 19, 2017

Should be at the end of the month.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an Azure service principal – Azure CLI - Microsoft Learn
Create a service principal with required parameter az ad sp ... The --keyvault parameter can be added to use a certificate in Azure...
Read more >
unrecognized arguments: --available-to-other-tenants
For the command : az ad app create. The error says that the given argument " --available-to-other-tenants" shouldnt be used as argument for ......
Read more >
azure-cli 2.25.0 - PyPI
[BREAKING CHANGE] az ad sp create-for-rbac : –name is now only used as the displayName of the app. It is not used to...
Read more >
'commit azure-cli-role for openSUSE:Factory' - MARC
-helps['ad sp reset-credentials'] = """ - type: command - short-summary: (Deprecated ... c.argument('keyvault', arg_group='Credential') c.argument('append', ...
Read more >
Azure Key Vault - Palo Alto Networks
Authenticate to your Azure tenant. $ az login. Create a servicePrincipal. $ az ad sp create-for-rbac. Save the resulting json output.+.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found