[Fixed] The operation “List” is not enabled in this key vault’s access policy

I got this error when I was trying to view the secret key in Azure Key Vault. The Azure Key Vault got created when I created the Azure Bot resource. The Azure Bot Resource app password is stored in Key Vault.

Fix

Click on Access policies.

Now, click on Add Access Policy.

Choose the configuration, you want to add access policies. I will select Secret Management. If you are having issues in Key or Certificate Management, then you can select accordingly.

The error showed “List” is not enabled, therefore, I will be enabling the List along with Get in Secret Permissions. You might have to add permissions for Key or Certificate if you have an error in there.

Now, add yourself to the Select principal or any other member you want to give access to.

Finally, click on Add.

Make sure to save the changes.

Go back to the Secrets and find your record there. You might visit Key or Certificates if you have added the access policy for them.

Thank you All!!! Hope you find this useful.


Leave a Reply

Up ↑

%d