Search code examples
azureazure-active-directorymulti-tenantazure-keyvault

Error Code: ForbiddenException http status: Unable to access KeyVault resource with given credentials


I am trying to implement the Azure Verifiable Credentials demo https://learn.microsoft.com/en-us/azure/active-directory/verifiable-credentials/verifiable-credentials-configure-tenant, however, already after scanning the QR generated in the demo app, which I registered in my Azure Active Directory, I get that I do not have access to the KeyVault resource, when I enabled all access permissions.

Does anyone have any idea what could be generating this error?

Verifiable Credentials Expert Issuance Error code


Solution

  • In KeyVault add an Access Policy for service principal "Verifiable Credentials Service Request" and give it Key Permissions Get, Sign and save that policy