userRegistrationDetails を一覧表示する

名前空間: microsoft.graph

重要

Microsoft Graph の /beta バージョンの API は変更される可能性があります。 実稼働アプリケーションでこれらの API を使用することは、サポートされていません。 v1.0 で API を使用できるかどうかを確認するには、Version セレクターを使用します。

userRegistrationDetails オブジェクトで定義されているユーザーに登録されている認証方法の一覧を取得します。

この API は、次の国内クラウド展開で使用できます。

グローバル サービス 米国政府機関 L4 米国政府機関 L5 (DOD) 21Vianet が運営する中国

アクセス許可

この API を呼び出すには、次のいずれかのアクセス許可が必要です。 アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。

アクセス許可の種類 アクセス許可 (特権の小さいものから大きいものへ)
委任 (職場または学校のアカウント) AuditLog.Read.All
委任 (個人用 Microsoft アカウント) サポートされていません。
アプリケーション AuditLog.Read.All

委任されたシナリオの場合、呼び出し元のユーザーは、次のMicrosoft Entraロールの少なくとも 1 つを持っている必要があります。

  • レポート閲覧者
  • セキュリティ閲覧者
  • セキュリティ管理者
  • グローバル閲覧者

HTTP 要求

GET /reports/authenticationMethods/userRegistrationDetails

オプションのクエリ パラメーター

このメソッドは、応答のカスタマイズに$filter役立つ OData クエリ パラメーターをサポートします。 userRegistrationDetails リソースの次のプロパティの 1 つ以上に適用$filterできます。

プロパティ 説明
isMfaCapable パスワード リセットまたは多要素認証 (MFA) を実行する準備ができているユーザーをフィルター処理します。 サポートされているフィルター演算子: eq /reports/authenticationMethods/userRegistrationDetails?$filter=isMfaCapable eq true
isMfaRegistered MFA に登録されているユーザーをフィルター処理します。 サポートされているフィルター演算子は です。 eq /reports/authenticationMethods/userRegistrationDetails?$filter=isMfaRegistered eq true
isSsprEnabled SSPR が有効になっているユーザーをフィルター処理します。 サポートされているフィルター演算子は です。 eq /reports/authenticationMethods/userRegistrationDetails?$filter=isSsprEnabled eq true.
isSsprRegistered セルフサービス パスワード リセット (SSPR) を登録したユーザーをフィルター処理します。 サポートされているフィルター演算子は です。 eq /reports/authenticationMethods/userRegistrationDetails?$filter=isSsprRegistered eq true
methodsRegistered 登録時に使用される認証方法でフィルター処理します。 サポートされているフィルター演算子は です。 eq /reports/authenticationMethods/userRegistrationDetails?$filter=methodsRegistered/any(x:x eq 'email')
userDisplayName ユーザー名でフィルター処理します。 サポートされているフィルター演算子は、 eqstartswith()です。 大文字と小文字を区別しないサポート。 /reports/authenticationMethods/userRegistrationDetails?$filter=userDisplayName eq 'Contoso'
userPrincipalName ユーザー プリンシパル名でフィルター処理します。 サポートされているフィルター演算子は、 eqstartswith()です。 大文字と小文字を区別しないサポート。 /reports/authenticationMethods/userRegistrationDetails?$filter=userPrincipalName eq 'Contoso'

要求ヘッダー

名前 説明
Authorization ベアラー {token}。 必須です。 認証と承認の詳細については、こちらをご覧ください。

要求本文

このメソッドには、要求本文を指定しません。

応答

成功した場合、このメソッドは 200 OK 応答コードと、応答本文の userRegistrationDetails オブジェクトのコレクションを返します。

要求

次の例は要求を示しています。

GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrationDetails

応答

次の例は応答を示しています。

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

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

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#reports/authenticationMethods/userRegistrationDetails",
  "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"
    },
    {
      "id": "c6ad1942-4afa-47f8-8d48-afb5d8d69d2f",
      "userPrincipalName": "AllanD@Contoso.com",
      "userDisplayName": "Allan Deyoung",
      "isAdmin": false,
      "isSsprRegistered": false,
      "isSsprEnabled": false,
      "isSsprCapable": false,
      "isMfaRegistered": false,
      "isMfaCapable": false,
      "isPasswordlessCapable": false,
      "lastUpdatedDateTime": "2023-03-13T19:15:41.6195833Z",
      "methodsRegistered": [],
      "defaultMfaMethod": "",
      "isSystemPreferredAuthenticationMethodEnabled": true,
      "systemPreferredAuthenticationMethods": [],
      "userPreferredMethodForSecondaryAuthentication": "",      
      "userType": "guest"
    },
    {
      "id": "c8096958-797c-44fa-8fde-a6fb62567cf0",
      "userPrincipalName": "BiancaP@Contoso.com",
      "userDisplayName": "Bianca Pisani",
      "isAdmin": false,
      "isSsprRegistered": true,
      "isSsprEnabled": false,
      "isSsprCapable": false,
      "isMfaRegistered": true,
      "isMfaCapable": true,
      "isPasswordlessCapable": false,
      "lastUpdatedDateTime": "2023-03-13T19:15:41.6195833Z",
      "methodsRegistered": [
        "mobilePhone",
        "microsoftAuthenticatorPush",
        "softwareOneTimePasscode"
      ],
      "defaultMfaMethod": "mobilePhone",
      "isSystemPreferredAuthenticationMethodEnabled": true,
      "systemPreferredAuthenticationMethods": [                
        "push"
      ],
      "userPreferredMethodForSecondaryAuthentication": "voiceMobile",      
      "userType": "member"
    }
  ]
}