Hi @ASR ,
The "EnableRbacAuthorization" parameter allows you to set the permission model to RBAC programmatically. You need to make sure this parameter is set to "true".
Update-AzKeyVault -Name MyKeyVault -ResourceGroupName KeyVaults -EnableRbacAuthorization $true
C# example of setting the property:
[Newtonsoft.Json.JsonProperty(PropertyName="enableRbacAuthorization")] public bool? EnableRbacAuthorization { get; set; }
Let me know if either of these examples help and if you have further questions.
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.