> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/general/check-intune-enrollment-readiness.md).

# Intune 登録準備状況を確認

ユーザーが Microsoft Intune にデバイスを登録できる状態かどうかを確認します

### 説明

選択したユーザー アカウントを Intune デバイス登録の準備状況について評価し、具体的なブロッカーとともに準備状況の結果（Ready、Ready with warnings、または Not ready）を報告します。この runbook は、アカウント状態、Intune ライセンス、デバイス登録制限、プラットフォーム制限、およびデバイス登録または Intune 登録を明示的に対象とする Conditional Access ポリシーを確認します。"All resources" を介して準拠デバイスを要求するポリシーは、Microsoft Entra の設計により除外されます。プラットフォームにスコープされたポリシーとブラウザーのみのクライアント アプリ要件は、指定された登録プラットフォームに対して評価され、runbook は読み取り専用の診断のみを実行します。

### 場所

ユーザー → 全般 → Intune 登録準備状況を確認

**完全な runbook 名**

rjgit-user\_general\_check-intune-enrollment-readiness

### 詳細

| プロパティ    | 値                                                                                       |
| -------- | --------------------------------------------------------------------------------------- |
| バージョン    | 1.0.0                                                                                   |
| 必要なモジュール | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>Microsoft.Graph.Authentication (>= 2.39.0)</p> |
| スケジュール可能 | いいえ                                                                                     |

### 注記

解釈メモ:

* 実行されるチェック: アカウント状態、Intune ライセンスとサービス プラン、Tenant の MDM 所有権、デバイス登録制限、プラットフォーム制限、登録済み認証方法、Conditional Access ポリシー、および必要に応じてパイロット グループのメンバーシップ。
* Conditional Access は、選択した EnrollmentPlatform の登録サインインに対する静的な "What If" として評価されます。Entra 自体の What If ツールが権威ある基準のままです。
* 「All resources」ポリシーでの準拠デバイス要件は登録をブロックしません（Entra の文書化された例外）。デバイス登録または Intune 登録アプリを対象とするポリシーのみが厳格なゲートとして扱われます。
* 静的に評価しないもの: 名前付き場所、デバイス フィルター、サインイン頻度、および利用規約。
* 有効期限切れまたはすでに使用済みの Temporary Access Pass は、使用可能な方法としてはカウントされません。

前提条件:

* Tenant の MDM 所有権は "intune" または "office365" である必要があります。その他の値はすべてのユーザーをブロックします。

### アクセス許可

#### アプリケーションのアクセス許可

* **種類**: Microsoft Graph
  * DeviceManagementServiceConfig.Read.All
    * */deviceManagement/deviceEnrollmentConfigurations（制限およびプラットフォーム制限の構成。割り当ては展開済み）を読み取り、登録制限とプラットフォーム制限の結果を評価します*
  * Group.Read.All
    * */groups?$filter=displayName eq '...' を読み取り、名前でオプションのパイロット グループを解決します*
  * GroupMember.Read.All
    * */groups/{id}/transitiveMembers/microsoft.graph.user を読み取り、パイロット グループのメンバーシップを確認し、/users/{id}/transitiveMemberOf/microsoft.graph.group を読み取り、Conditional Access の include/exclude group スコープ設定のために対象ユーザーのグループ メンバーシップを解決します*
  * Organization.Read.All
    * */v1.0/organization/{tenantId}?$select=id,displayName,mobileDeviceManagementAuthority を読み取り、Tenant の MDM 所有権を判定します。これはテナント レベルの無条件の登録ブロッカー確認です。tenant ID は高速パスとして Get-MgContext から取得し、Graph コンテキストで取得できない場合は GET /v1.0/organization?$select=id にフォールバックします*
  * Policy.Read.All
    * */identity/conditionalAccess/policies を読み取り、ユーザーの Intune 登録をブロックする可能性のある有効なポリシーを評価します*
  * RoleManagement.Read.Directory
    * */users/{id}/transitiveMemberOf/microsoft.graph.directoryRole によって返される directoryRole オブジェクトの roleTemplateId を設定します。Conditional Access の includeRoles/excludeRoles スコープはこれに対して照合されます。User.Read.All は呼び出し自体を許可しますが、directoryRole プロパティは null のままであり、その結果、ロール スコープのポリシーがすべて適用されないように見えてしまいます*
  * User.Read.All
    * */users/{id}（accountEnabled、assignedLicenses、usageLocation）を読み取り、対象ユーザーを解決し、/subscribedSkus でどのライセンスに Intune サービス プランが含まれるかを判定し、/users/{id}/ownedDevices で登録済みデバイス数を登録制限と照合して数え、/users/{id}/transitiveMemberOf/microsoft.graph.directoryRole でユーザーのディレクトリ ロールを解決して Conditional Access の includeRoles/excludeRoles スコープ設定に使用します*
  * UserAuthenticationMethod.Read.All
    * */users/{id}/authentication/methods を読み取り、ユーザーが Conditional Access の MFA 付与コントロールを満たせる登録済み方法を持っているかどうかを判定します*

### パラメーター

#### UserName

Intune 登録準備状況を確認する対象ユーザーのユーザー プリンシパル名。

| プロパティ | 値   |
| ----- | --- |
| 必須    | はい  |
| 既定値   |     |
| 種類    | 文字列 |

#### EnrollmentPlatform

Conditional Access の評価時に想定されるデバイス プラットフォーム。このプラットフォームをカバーしないプラットフォーム スコープのポリシーは除外されます。'All' に設定すると、スクリプトはすべてのプラットフォームを評価し、プラットフォームごとの結果を報告します。

| プロパティ   | 値            |
| ------- | ------------ |
| 必須      | いいえ          |
| 既定値     | Windows      |
| 種類      | 文字列          |
| ポータル表示名 | 登録するプラットフォーム |

**ポータル オプション**

| ポータル オプション   | 値       |
| ------------ | ------- |
| Windows      | Windows |
| iOS / iPadOS | iOS     |
| Android      | Android |
| macOS        | macOS   |
| すべてのプラットフォーム | All     |

#### CheckPilotGroupMembership

true に設定すると、スクリプトはユーザーがパイロット グループのメンバーかどうかを確認します。非メンバーは Not ready として報告されます。グループが見つからない、またはメンバーシップを確認できない場合は、警告が発行されます。

| プロパティ   | 値                       |
| ------- | ----------------------- |
| 必須      | いいえ                     |
| 既定値     | False                   |
| 種類      | ブール値                    |
| ポータル表示名 | パイロット グループ メンバーシップをチェック |

#### PilotGroupDisplayName

メンバーシップを確認するパイロット グループの表示名。このパラメーターは、実行ごとに上書きすることも、runbook のカスタマイズで構成することもできます。

| プロパティ   | 値                               |
| ------- | ------------------------------- |
| 必須      | いいえ                             |
| 既定値     | col - All Users - Pilot (users) |
| 種類      | 文字列                             |
| ポータル表示名 | パイロット グループ名                     |

[Runbook Reference の概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/general/check-intune-enrollment-readiness.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
