[Solved] Access policies not available – Azure

by
Ali Hasan
azure-active-directory azure-keyvault

Quick Fix: To switch from Azure RBAC roles to using Azure Key Vault Access Policies, navigate to the Key Vault details page in the Azure Portal and click on "Access Configuration". From there, you can make the switch to access policies based authorization.

The Problem:

I need to grant access to a user for a key vault using access policies, but I am getting the error message "Access policies not available." The key vault’s access configuration is set to role-based access control (RBAC), which prevents me from managing access policies directly.

The Solutions:

Solution 1: Azure Role-Based Access Control (RBAC) vs Azure Key Vault Access Policies

Problem: When attempting to access access policies in Azure Key Vault, you encounter the error "Access policies not available." This occurs because Azure RBAC is currently enabled for authorization.

Resolution: To access access policies, you must disable Azure RBAC and enable Azure Key Vault Access Policies.

  1. Navigate to the Key Vault details page in the Azure Portal.
  2. Click on "Access Configuration."
  3. Switch the permission mode from "Azure RBAC" to "Access Policies."

Once you have made this change, you will be able to create and manage access policies for your Key Vault.

Q&A

How to use both Azure RBAC roles and Azure Key Vault Access Policies?

You cannot combine these authorization modes.

How to switch from Azure RBAC roles to Azure Key Vault Access Policies?

Click on "Access Configuration" in Key Vault details page in Azure Portal and make the switch.

Video Explanation:

The following video, titled "Microsoft Entra ID - Why my Conditional Access Policy is or is not ...", provides additional insights and in-depth exploration related to the topics discussed in this post.

Play video

In this video, Christian Chavez Castillo will show you how to solve a common problem with conditional access policies.