Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

Updated logo URL to static website instead of public storage blob location

Git stats


Failed to load latest commit information.
page_type languages products description urlFragment
A code sample demonstrating issuance and verification of verifiable credentials.

Verifiable Credentials Code Samples

This code sample demonstrates how to use Microsoft Entra Verified ID to issue and consume verifiable credentials.

About these samples

Welcome to Microsoft Entra Verified ID. With the code samples, we'll teach you to issue a verifiable credential: a Verified Credential Expert Card. You'll then use this card to prove to a verifier that you are a Verified Credential Expert, mastered in the art of digital credentialing.

Screenshot of a verifiable ninja card

There are several samples:


The typical samples consist of 2 parts, an issuer and a verifier. The holder or user is using the wallet which is Microsoft Authenticator.

diagram of an issuer and a verifier

The samples are meant as a way to quickly understand the principles and the use of the Request API. If you are planning to create an application which needs to be run in production make sure you add proper error handling and other best practices.


For all the samples this are the minimum requirements:

  • An Android or IOS device.
  • Microsoft Authenticator installed on the mobile device.
  • An Azure Active Directory (free) tenant.
  • An Azure subscription where you have access to create an Azure Key Vault instance.

Refer to our documentation for more instructions on setting up your own Azure AD Verifiable Credentials environment.


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


A code sample demonstrating how to use Azure Active Directory's preview functionality to issue and consume verifiable credentials.


Code of conduct

Security policy





No releases published


No packages published