"Credential not found" error on Authenticator app when trying to verify the issued credential

Anonymous
2022-06-24T00:52:26.667+00:00

I've been following the latest Azure AD Verifiable Credentials tutorial (ver. June 18th 2022) and all have been well until I want to verify the issued credential.
214399-image.png

in sample web application's config.json, "azCertificateName" and "CredentialManifest" match the credential I want to verify.
Since I'm both issuer and verifier, I allocate the same DID to "IssuerAuthority" and "VerifierAuthority" but still could not request the credential.
214400-image.png

Please let me know if my configuration is wrong/insufficient or if I should modify sample application's code. Thank you in advance!

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Authenticator
0 comments No comments
{count} votes

Accepted answer
  1. Farasath Ahamed 81 Reputation points
    2022-07-20T04:03:53.913+00:00

    I faced a similar issue. In my case I had defined the VC with a custom name (ZanzibarVerifiedCredentials) than what was expected in the Sample

    Double check the credential type name you used in when creating the Verifiable Credential from the Azure portal and the one requested by the sample (this is defined in presentation_request_config.json)

    In my case, I defined my credential name as ZanzibarVerifiedCredentials so had to change the presentation_request_config.json as below.

    {
    "authority": "did:ion: THIS IS YOUR DID FROM THE VC PAGE IN AZURE PORTAL ...set at runtime...",
    "includeQRCode": false,
    "registration": {
    "clientName": "Verifiable Credential Expert Sample",
    "purpose": "the purpose why the verifier asks for one or more VCs"
    },
    "callback": {
    "url": "...set at runtime...",
    "state": "...set at runtime...",
    "headers": {
    "api-key": "OPTIONAL API-KEY for VERIFIER CALLBACK API"
    }
    },
    "presentation": {
    "includeReceipt": true,
    "requestedCredentials": [
    {
    "type": "ZanzibarVerifiedCredentials",
    "purpose": "the purpose why the verifier asks for a VC",
    "acceptedIssuers": [ "...set at runtime..." ]
    }
    ]
    }
    }

    If the names are the same then it's a different case than mine.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.