skip to Main Content

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

2

Answers


  1. To resolve 403 Forbidden error, please check whether you have given required permissions.

    Make sure to give permissions like below:

    Key permissions: Get, List, Create, Import, Verify and Sign

    Secret permissions: Get, list and Set

    enter image description here

    Otherwise, check whether firewall policy is enabled or not.

    • If enabled, try adding the IP address of your Azure App Service to the Key Vault to make it work.

    To know the exact reason behind the error try turning on Azure Key Vault logging that will give you the reason behind the error.

    Please refer below links for more information:

    REST API error codes – Azure Key Vault | Microsoft Docs

    Issue your own Verifiable Credentials | Decentralized Identity Developer Docs (didproject.azurewebsites.net)

    Login or Signup to reply.
  2. In KeyVault add an Access Policy for service principal "Verifiable Credentials Service Request" and give it Key Permissions Get, Sign and save that policy

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search