# すべての Autopilot デバイスをエクスポート

### 説明

すべての Windows Autopilot デバイスを一覧表示し、必要に応じて Azure Storage の CSV ファイルにエクスポートします。エクスポートが有効な場合、runbook はレポートをアップロードし、時間制限付きの SAS（ダウンロード）リンクを返します。

### 場所

Organization → General → Export All Autopilot Devices

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

rjgit-org\_general\_export-all-autopilot-devices

### アクセス許可

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

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

### パラメーター

#### ExportToFile

アクションとして「コンソールに一覧表示」（最終値: $false）または「CSV ファイルにエクスポート」（最終値: $true）を選択できます。

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

#### ContainerName

CSV レポートをアップロードする Azure Storage コンテナーの名前。

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

#### ResourceGroupName

Storage Account を含む Azure リソース グループの名前。

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

#### StorageAccountName

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

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

#### StorageAccountLocation

作成が必要な場合の Storage Account の Azure リージョン。

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

#### StorageAccountSku

作成が必要な場合の Storage Account の SKU 名。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | 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-all-autopilot-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.
