> 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/applications/report-application-registration.md).

# アプリケーション登録をレポート

### 説明

この runbook は、Microsoft Entra ID におけるすべてのアプリケーション登録のレポートを生成し、必要に応じて削除済みの登録も含めることができます。結果は CSV ファイルと Excel (xlsx) ワークブックにエクスポートされ、メールで送信することもできます。レポート ファイルは Azure Storage Account にアップロードすることもでき、期限付きのダウンロード リンクを返します。ReportFileFormat パラメーターは、どのファイル形式を生成して配信するか（CSV のみ、CSV & XLSX、または XLSX のみ）を制御します。CSV の添付ファイルがメール サイズの上限を超え、"CSV & XLSX" が選択されている場合、メールは Excel ワークブックのみへフォールバックします。定期的な棚卸し、レビュー、監査の用途に使用してください。

### メール送信の設定

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

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

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

### 場所

組織 → アプリケーション → Report Application Registration

**完全な Runbook 名**

rjgit-org\_applications\_report-application-registration

### アクセス許可

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

* **種類**: Microsoft Graph
  * Application.Read.All
  * Directory.Read.All
  * Mail.Send
  * Organization.Read.All

### パラメーター

#### EmailTo

指定すると、提供されたアドレス宛てにレポート付きのメールが送信されます。単一のアドレスでも、カンマ区切りの複数アドレスでも指定できます（文字列）。プライバシー上の理由から、関数は受信者ごとに個別のメールを送信します。

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

#### EmailFrom

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

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

#### IncludeDeletedApps

レポートに削除済みのアプリケーション登録を含めるかどうか（既定: true）

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

#### ReportFileFormat

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

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

#### CreateDownloadLink

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

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

#### ContainerName

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

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

#### ResourceGroupName

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

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

#### StorageAccountName

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

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

#### LinkExpiryDays

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

| プロパティ | 値        |
| ----- | -------- |
| 必須    | false    |
| 既定値   | 6        |
| 種類    | 32 ビット整数 |

[Runbook リファレンスの概要に戻る](/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/applications/report-application-registration.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.
