Blog Post
Use Azure Logic Apps to Notify of Pending AAD Application Client Secrets and Certificate Expirations
Hi Russ,
I have deployed the Logic App following your instructions. Additionally, I created the SPN and assigned all the required Graph API permissions (attached for reference). However, when I run the Logic App, I encounter an error at the second step, "Tenant-id."
Please take a look at the Key Vault API connection (attached)
)
I have also tried assigning the "Key Vault Administrator" RBAC role to both the SPN and the Logic App's Managed Identity, but the issue persists. Am I overlooking something?
"status": 401,
"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 https://docs.microsoft.com/en-us/azure/key-vault/general/assign-access-policy-portal.\r\nclientRequestId: 2efeb369-33f7-4d49-89b2-811de37663ff",
"error": {
"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 https://docs.microsoft.com/en-us/azure/key-vault/general/assign-access-policy-portal."
},
"source": "keyvault-ae.azconn-ae-001.p.azurewebsites.net"
}