Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Operation failed because client does not have permission to perform the operation on the key vault. Please check your permissions in the key vault access policies

{tocify} $title={Table of Contents}



Error/Issue:


While trying to Get Secret from Key vault, following error was presented

 "Operation failed because client does not have permission to perform the operation on the key vault. Please check your permissions in the key vault access policies"

But I had created the connection  







Why it happened

As the error says, client does not have permission to perform the operation on the key vault. Please check your permissions in the key vault access policies - thus just creating a connection to Keyvault does not give you the permission .

When connection is created only Authentication happens but to access the Key Vault artifacts Authorization is to be done.


And you authorize by adding the service principal of an Identiy in an Access policy of Keyvault along with selecting what all actions can be performed.




What to do


Click on Access policies section, select Permission model as Vault access policy and click on Add Access Policy



Added the Logic app service principal in Access Policy of KeyVault.




 Permissions should be selected as per the need and as I needed to see the list of secrets and get the value of secret - selected both as can be seen in below image.



Did save and the issue was gone.




Related Post 

  • Getting Started with Logic Apps - Enterprise Application Integration
  • Getting Started with Logic Apps - EDI X12 Fundamentals
  • Getting Started with Logic Apps - What happened to the Request?
  • Getting Started with Logic Apps - Fundamentals
  • Getting Started with Logic Apps - AS2
  • Getting Started with Logic Apps - XML to EDI X12
  • The provided map definition is not valid
  • Required property 'content' expects a value but got null. Path ''.'
  • Getting Started with Logic Apps - File Routing
  • Installing and Configuring On Premises Data Gateway - By adding user to Active Directory
  • Inserting data in On Premises SQL Database using Logic Apps
  • Inserting Multiple Records In On Prem SQL Using Logic App
  • Check your request parameters to make sure the Path “” exists on your file system




    This post first appeared on TechFindings, please read the originial post: here

    Share the post

    Operation failed because client does not have permission to perform the operation on the key vault. Please check your permissions in the key vault access policies

    ×

    Subscribe to Techfindings

    Get updates delivered right to your inbox!

    Thank you for your subscription

    ×