> 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/list-inactive-enterprise-applications.md).

# 非アクティブな Enterprise Application を一覧表示

### 説明

この runbook は、Microsoft Entra ID のサインイン ログに基づいて、最近サインイン活動のないエンタープライズ アプリケーションを特定します。指定した日数の間使用されていないアプリと、サインイン レコードがないアプリを一覧表示します。レビュー、クリーンアップ、または廃止の候補を見つけるために使用してください。

必要に応じて、このレポートは、非アクティブなアプリケーションと一度も使用されたことのないアプリケーションを含む CSV および/または Excel (xlsx) 添付ファイル付きでメール送信できます。レポート ファイルは Azure Storage Account にアップロードすることもでき、時間制限付きのダウンロード リンクが返されます。ReportFileFormat パラメーターは、生成および配信されるファイル形式（CSV のみ、CSV & XLSX、または XLSX のみ）を制御します。CSV 添付ファイルがメールのサイズ制限を超え、"CSV & XLSX" が選択されている場合、メールは Excel ワークブックのみを送信するようにフォールバックします。

### 場所

組織 → アプリケーション → 非アクティブなエンタープライズ アプリケーションを一覧表示

**完全な Runbook 名**

rjgit-org\_applications\_list-inactive-enterprise-applications

### アクセス許可

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

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

### パラメーター

#### 日数

アプリケーションを非アクティブと見なすための、ユーザーのログオンがない日数。既定値は 90 日です。

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

#### ReportFileFormat

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

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

#### CreateDownloadLink

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

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

#### ContainerName

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

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

#### ResourceGroupName

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

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

#### StorageAccountName

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

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

#### LinkExpiryDays

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

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

#### EmailFrom

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

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

#### EmailTo

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

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

[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/list-inactive-enterprise-applications.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.
