{tocify} $title={Table of Contents}
But I had created the connection and also had added the logic app service principal in Access Policy of KeyVault.
Error/Issue:
While trying to Get Secret from Key vault, following error was presented
"Could not retrieve values. Error code: 'Forbidden', Message: '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"
Why it happened
The error was presented when connector was trying to fetch the list of secrets in the Key vault, but when clicked on Enter custom value and provided the name of secret, it worked fine.
Thus, there was no issue in getting the value of a particular secret which is provided against Name of the secret but the drop down list wasn't populated with secrets in the keyvault - it was forbidden.
So visited the access policy and the reason was that only Get permission was selected for Logic app service principal in Access policy.
What to do
Permissions should be selected as per the need and as I needed to see the list of secrets, *in the access policy selected List option too
Did save and the issue was gone.
If you have questions or suggestions, feel free to do in comments section below !!!
Do share if you find this helpful .......
Knowledge Sharing is Caring !!!!!!
Related Post
- Getting Started with Logic Apps - Enterprise Application Integration
- Getting Started with Logic Apps - EDI X12 Fundamentals
- Getting Started with Logic Apps - Fundamentals
- Getting Started with Logic Apps - AS2
- Getting Started with Logic Apps - XML to EDI X12
Tags:
Azure Key Vault error