> 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/org/security/monitor-pending-epm-requests_scheduled.md).

# 保留中の EPM 要求を監視（定期実行）

### 説明

保留中の EPM 権限昇格要求を Microsoft Intune に問い合わせ、メール レポートを送信します。メールは保留中の要求がある場合にのみ送信されます。必要に応じて、各要求の詳細情報を表とレポート ファイルの添付として含めることができます。レポート ファイルは Azure Storage Account にアップロードすることもでき、時間制限付きのダウンロード リンクが返されます。ReportFileFormat パラメーターは、生成して配信するファイル形式（CSV のみ、CSV & XLSX、または XLSX のみ）を制御します。CSV 添付ファイルがメールのサイズ制限を超え、"CSV & XLSX" が選択されている場合、メールは Excel ブックのみの送信にフォールバックします。

### メール送信に関する設定

メール レポートの送信は任意で、受信者（`EmailTo`）が指定された場合にのみ行われます。送信元アドレスは次の `RJReport.EmailSender` Tenant 設定から取得されます。

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

次を参照してください。 [RealmJoin Report Settings のドキュメント](https://docs.realmjoin.com/automation/runbooks/runbook-report-settings) 詳細について。

### 場所

Organization → Security → 保留中の EPM 要求を監視 (スケジュール済み)

**Runbook の完全名**

rjgit-org\_security\_monitor-pending-EPM-requests\_scheduled

### 権限

#### アプリケーション権限

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

### パラメーター

#### DetailedReport

有効にすると、詳細な要求情報を表とレポート ファイルの添付ファイルとして含めます。無効にすると、保留中の要求の概要件数のみを提供します。

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

#### EmailTo

単一のアドレス、またはカンマ区切りの複数アドレス（文字列）を指定できます。プライバシー上の理由から、関数は各受信者に個別のメールを送信します。

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

#### EmailFrom

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

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

#### ReportFileFormat

生成して配信するレポート ファイルの形式を制御します: "CSV only"、"CSV & XLSX"（既定）または "XLSX only"。

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

#### CreateDownloadLink

有効にすると、レポート ファイルは Azure Storage Account にアップロードされ、時間制限付きのダウンロード リンクが返されます。既定では無効です。

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

#### ContainerName

アップロードに使用するストレージ コンテナー名です。Runbook ごとに構成します（グローバルな RJReport 設定ではありません）。

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

#### ResourceGroupName

ストレージ アカウントを含むリソース グループです。RJReport の Tenant 設定から取得されます。

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

#### StorageAccountName

アップロードに使用するストレージ アカウント名です。RJReport の Tenant 設定から取得されます。

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

#### LinkExpiryDays

生成されたダウンロード リンクの有効期限までの日数です。RJReport の Tenant 設定から取得されます。

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

[Runbook Reference の概要に戻る](/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, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/security/monitor-pending-epm-requests_scheduled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
