How do I use Access Control Page, now that Vault Access Policy isn't working?

Falanga, Rod, DOH 245 Reputation points
2024-01-11T22:20:51.2766667+00:00

I have been following a LinkedIn Learning course named Azure Key Vault for Developers. It was done a few years ago. I'm at the point of configuring access to my key vault. Back when this course was done, the instructor opted to use Vault Access Policy. Azure Role-based Access Control was an option, but that isn't what the instructor choose. I decided to follow the instructor's lead, but now I've run into a problem. I'm getting this error message:

Access policies not availableThe access configuration for this key vault is set to role-based access control. To add or manage your access policies, go to the Access control (IAM) page.

How do I fix this problem and proceed to configure access to my key vault?

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,451 questions
0 comments No comments
{count} votes

Accepted answer
  1. Silvia Wibowo 6,046 Reputation points Microsoft Employee Volunteer Moderator
    2024-01-11T23:27:03.0466667+00:00

    Hi @Falanga, Rod, DOH , I understand that you want Azure Key Vault that has Vault Access Policy.

    When creating Azure Key Vault, you can choose between Azure RBAC or Vault Access Policy for data-plane access control:User's image

    Choose "Vault access policy". If you've created an Azure Key Vault with default option (you didn't select the permission model), it will have Azure RBAC for its permission model. The solution: delete your Azure Key Vault and create a new one with "Vault access policy".

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
    2024-01-12T19:34:14.1433333+00:00

    @Falanga, Rod, DOH

    Thank you for your post!

    Error Message:

    Access policies not available. The access configuration for this key vault is set to role-based access control. To add or manage your access policies, go to the Access control (IAM) page.

    Based off your error message, you can resolve your issue by following the steps below. Please note that when you initially created your Key Vault, if you didn't specify Vault access policy (legacy) the default Access model is now Azure role-based access control. For more info - Azure RBAC vs. access policies (legacy).

    User's image

    If you'd like to continue using the Azure RBAC access model for your Key Vault, you'll have to leverage the Access Control (IAM) page and assign users the appropriate built-in roles for Key Vault data plane operations.

    1. From your Azure Key Vault.
    2. Select Access control (IAM) on the left pane.
    3. Ensure your user has one of the appropriate built-in roles for Key Vault data plane operations (for example - Key Vault Administrator).
    4. If you need to create a new role you can do so by selecting Add > Add role assignment to open the Add role assignment page. For more info - Key Vault scope role assignment.

    User's image


    If you'd like to switch to the legacy Key Vault access policy permissions model for your Key Vault, you can do so by:

    1. Navigate to your Key Vault.
    2. Selecting Access configuration on the left pane.
    3. Select and Save the appropriate access model - Vault access policy.
    4. Navigate to Access policies on the left pane.
    5. Assign the appropriate permissions. For more info - Assign an access policy.

    User's image

    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.