Azure-docs: Incorrect Azure CLI command parameters

Created on 25 Oct 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

Under https://docs.microsoft.com/en-us/azure/key-vault/key-vault-group-permissions-for-apps#give-the-principal-access-to-your-key-vault the "az keyvault set-policy ..." command should use the "--object-id" flag instead of the "--spn" flag to pass the objectId.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 cxp doc-bug key-vaulsvc triaged

All 2 comments

@BassFaceIV
Thanks for your feedback! We will investigate and update as appropriate.

@BassFaceIV since object-id is by GUID and upn is by name, I think you're correct.

I made a pull request for approval by @msmbaldwin https://github.com/MicrosoftDocs/azure-docs-pr/pull/93804

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spottedmahn picture spottedmahn  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments