# 非アクティブなデバイスの一覧

### 説明

最後の対話型サインインまたは最後の Intune 同期日付のいずれかに基づいてデバイスを収集し、コンソールに一覧表示します。必要に応じて、結果を Azure Storage の CSV ファイルにエクスポートします。

### 場所

組織 → セキュリティ → 非アクティブなデバイスの一覧

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

rjgit-org\_security\_list-inactive-devices

### アクセス許可

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

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

### パラメーター

#### 日

デバイスを非アクティブと見なすために使用する、同期またはサインインのない日数。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 30    |
| 種類    | Int32 |

#### 同期

true に設定すると、非アクティブ判定は最後の Intune 同期に基づきます。それ以外の場合は、最後の対話型サインインに基づきます。

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

#### ExportToFile

true に設定すると、結果を Azure Storage の CSV ファイルにエクスポートします。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | 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/security/list-inactive-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.
