# 準拠していないデバイスをエクスポート

### 説明

この runbook は、非準拠デバイスと猶予期間中のデバイスについて Intune を問い合わせ、詳細なポリシーおよび設定の準拠データを取得します。結果は SAS（ダウンロード）リンク付きの CSV にエクスポートできます。

### 場所

Organization → General → Export Non Compliant Devices

**ランブックの完全名**

rjgit-org\_general\_export-non-compliant-devices

### アクセス許可

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

* **種類**: Microsoft Graph
  * DeviceManagementConfiguration.Read.All

#### 権限に関する注意

Azure IaaS: リンクを生成する場合、Azure Storage リソースを作成/管理するためのアクセス権

### パラメーター

#### produceLinks

true に設定すると、ストレージ設定が利用可能な場合にアーティファクトをアップロードし、SAS（ダウンロード）リンクを生成します。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### ContainerName

アップロードに使用するストレージ コンテナー名。

| プロパティ | 値                                |
| ----- | -------------------------------- |
| 必須    | false                            |
| 既定値   | rjrb-device-compliance-report-v2 |
| 種類    | 文字列                              |

#### ResourceGroupName

Storage Account を含むリソース グループ。

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

#### StorageAccountName

アップロードに使用する Storage Account 名。

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

#### StorageAccountLocation

Storage Account の Azure リージョン。

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

#### StorageAccountSku

Storage Account の SKU。

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

#### SubscriptionId

ストレージ操作に使用する Azure サブスクリプション ID。

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

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions: 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/org/general/export-non-compliant-devices.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.
