> 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/device/general/check-device-compliance.md).

# デバイスのコンプライアンスを確認

### 説明

この runbook は Microsoft Intune から管理対象デバイスのコンプライアンス状態を取得します。簡易モードでは全体のコンプライアンス状態を表示し、非準拠のポリシーを一覧表示します。詳細モードでは、さらにどの特定の設定が失敗しているかと、それぞれの失敗理由を表示します。必要に応じて、完全なコンプライアンス詳細を含むレポートをメールで送信できます。

### 場所

デバイス → 全般 → デバイスのコンプライアンスを確認

**完全な Runbook 名**

rjgit-device\_general\_check-device-compliance

### アクセス許可

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

* **種類**: Microsoft Graph
  * Device.Read.All
  * DeviceManagementManagedDevices.Read.All
  * Organization.Read.All

### パラメーター

#### デバイス ID

対象デバイスの Entra ID デバイス ID。RealmJoin プラットフォームによって自動的に渡されます。

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

#### DetailedOutput

「Simple」（最終値: $false）を選択すると、全体のコンプライアンス状態と非準拠のポリシー名のみを表示します。「Detailed」（最終値: $true）を選択すると、さらにどの特定の設定が失敗しているかと、それぞれの失敗理由を表示します。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | False |
| 種類    | ブール値  |

#### EmailTo

任意 - 指定した場合、コンプライアンス レポートが指定されたメールアドレスに送信されます。単一のアドレスでも、カンマ区切りの複数アドレスでも指定できます。

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

#### EmailFrom

送信者のメールアドレスです。これは runbook のカスタマイズで構成する必要があります。

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

[Runbook リファレンスの概要に戻る](/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:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/device/general/check-device-compliance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
