Edit

List verifiableCredentialsAuthenticationMethodConfiguration objects

Namespace: microsoft.graph

Get a list of the verifiableCredentialsAuthenticationMethodConfiguration objects and their properties.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Policy.Read.AuthenticationMethod Policy.ReadWrite.AuthenticationMethod
Delegated (personal Microsoft account) Not supported. Not supported.
Application Policy.Read.AuthenticationMethod Policy.ReadWrite.AuthenticationMethod

Important

For delegated access using work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role that grants the permissions required for this operation. This operation supports the following built-in roles, which provide only the least privilege necessary:

  • Global Reader
  • Authentication Policy Administrator

HTTP request

GET /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/VerifiableCredentials

Optional query parameters

None.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of verifiableCredentialsAuthenticationMethodConfiguration objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/VerifiableCredentials

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": {
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
    "@odata.type": "#microsoft.graph.verifiableCredentialsAuthenticationMethodConfiguration",
    "@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET policies/authenticationMethodsPolicy/authenticationMethodConfigurations('<key>')?$select=excludeTargets,state",
    "id": "VerifiableCredentials",
    "state": "enabled",
    "excludeTargets": [
        {
            "id": "10051f25-53a8-4f81-8a0b-9fc22887e640",
            "targetType": "group"
        },
        {
            "id": "e2c2244f-66cc-4d5b-9042-686f9fa42986",
            "targetType": "group"
        }
    ],
    "includeTargets": [
        {
            "targetType": "group",
            "id": "3160256b-e74c-426e-9a65-b68a71c7f054",
            "isRegistrationRequired": false,
            "verifiedIdProfiles": [
                "9dda0ae1-e007-4a1d-81ec-2cf4b1274610"
            ]
        }
    ]
  }
}