The Access Configuration For This Key Vault Is Set To Role-Based Access Control

Recently, I attempted to create access policies for one of my Azure key vaults, but it didn’t allow me. It displayed an error message stating that access policies were not available. The access configuration for this key vault is set to role-based access control.

The Access Configuration For This Key Vault Is Set To Role-Based Access Control

I clicked on the “Access Policies” link from the left navigation on the Key Vault page and saw this message. Please refer to the screenshot below for your reference.

The access configuration for this key vault is set to role-based access control.

Solution

I followed the steps below to fix this issue.

1. Click the Access Control (IAM) link from the left navigation on the key vault page. Then click on the Add role assignment link from the + Add dropdown.

the access configuration for this key vault is set to role-based access control

2. On the Add role assignment window, search for the key vault administrator, then click on the search result “key vault administrator” and click the Next button.

access policies not available.

Check out Azure Key Vault Best Practices

3. On the Members tab, keep the default option and click the + Select members button.

The Access Configuration For This Key Vault

On the Select Members window, search for the member’s email ID or name, and then select that member. Click the Select button.

The Access Configuration For This Key

After selecting the member, click the Review + Assign button, as shown in the screenshot below.

access policies not available. azure key vault

Again, click on the Review + Assign button in the next window. A pop-up will appear stating that the Role assignment was added successfully, as shown below.

access policies not available

Check out Get-AzKeyVaultSecret PowerShell

It worked for me. If you are still facing the same issue, go to the key vault page, expand the Settings tab, click on Access Configuration, and ensure that you select the Vault Access Policy option. Finally, click the Apply button to save the changes. Now, it should work for you.

the access configuration for this key vault is set to role-based access control

I was able to access the access policies page successfully, as shown in the screenshot below.

the access configuration for this key vault

You may also like the following articles below

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!