Skip to content

Latest commit

 

History

History
145 lines (110 loc) · 4.93 KB

File metadata and controls

145 lines (110 loc) · 4.93 KB
title Get userRegistrationDetails
description Read the properties and relationships of a userRegistrationDetails object.
author egreenberg14
ms.localizationpriority medium
ms.subservice entra-monitoring-health
doc_type apiPageType
ms.date 07/26/2024

Get userRegistrationDetails

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Read the properties and relationships of a userRegistrationDetails object.

[!INCLUDE national-cloud-support]

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.

[!INCLUDE permissions-table]

[!INCLUDE rbac-reports-registration-usage-apis]

HTTP request

GET /reports/authenticationMethods/userRegistrationDetails/{userId}

Optional query parameters

This method does not support the OData query parameters to help customize the response. For general information, see OData query parameters.

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 userRegistrationDetails object in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrationDetails/86462606-fde0-4fc4-9e0c-a20eb73e54c6

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


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": {
    "id": "86462606-fde0-4fc4-9e0c-a20eb73e54c6",
    "userPrincipalName": "AlexW@Contoso.com",
    "userDisplayName": "Alex Wilber",
    "isAdmin": false,
    "isSsprRegistered": false,
    "isSsprEnabled": false,
    "isSsprCapable": false,
    "isMfaRegistered": true,
    "isMfaCapable": true,
    "isPasswordlessCapable": false,
    "lastUpdatedDateTime": "2023-03-13T19:15:41.6195833Z",
    "methodsRegistered": [
      "microsoftAuthenticatorPush",
      "softwareOneTimePasscode"
    ],
    "defaultMfaMethod": "microsoftAuthenticatorPush",
    "isSystemPreferredAuthenticationMethodEnabled": true,
    "systemPreferredAuthenticationMethods": [                
      "push"
    ],
    "userPreferredMethodForSecondaryAuthentication": "push",    
    "userType": "member"
  }
}