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.
Table of Contents
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.

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.

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.

Check out Azure Key Vault Best Practices
3. On the Members tab, keep the default option and click the + Select members button.

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

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

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.

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.

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

You may also like the following articles below
- How to create a secret in Azure Key Vault
- The access configuration for this key vault is set to role-based access control.
- Azure Recovery Services Vault

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
