[QUERY] How to add new access policy to key vault without deleting all existing access policies? #44531
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
KeyVault
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.ResourceManager.KeyVault 1.2.0
Query/Question
As the title says, how do I add new access policy to key vault without deleting all existing access policies in the vault?
According to this bug report, it should be possible, but I just cannot figure out how: #32872
This sample doesn't give any answers either. https://github.com/Azure-Samples/azure-samples-net-management/blob/master/samples/keyvault/manage-key-vault/Program.cs. If I modify the sample to update access policy for a new principal id, the existing access policy is deleted
Environment
No response
The text was updated successfully, but these errors were encountered: