# 5 台を超えるデバイスを持つユーザーのレポート

### 説明

このランブックは Entra ID デバイスと、それらに登録されているユーザーを照会して、5台を超えるデバイスを持つユーザーを特定します。サマリーテーブルを出力し、必要に応じて CSV 添付ファイル付きのメールを送信できます。

### メール送信に関するセットアップ

このランブックは Microsoft Graph API を使用してメールを送信します。Graph API 経由でメールを送信するには、ランブックのカスタマイズで既存のメール アドレスを構成する必要があります。

この手順については、 [メール レポートのセットアップ](https://github.com/realmjoin/realmjoin-runbooks/tree/master/docs/general/setup-email-reporting.md) ドキュメントで詳しく説明されています。

### 場所

Organization → Devices → Report Users With More Than 5-Devices

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

rjgit-org\_devices\_report-users-with-more-than-5-devices

### アクセス許可

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

* **種類**: Microsoft Graph
  * Device.Read.All
  * Mail.Send

### パラメーター

#### EmailFrom

送信者のメールアドレス。これはランブックのカスタマイズで設定する必要があります。

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

#### EmailTo

指定した場合、レポートを含むメールが指定された宛先に送信されます。宛先は 1 つのアドレスでも、カンマ区切りの複数アドレスでも構いません（文字列）。プライバシー上の理由から、関数は各受信者に個別のメールを送信します。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | 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/devices/report-users-with-more-than-5-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.
