> 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/mail/add-shared-mailbox.md).

# 共有メールボックスを追加

共有メールボックスを作成します

### 説明

このスクリプトは Exchange Online に共有メールボックスを作成し、委任、自動マッピング、メッセージ コピー オプションなどの各種設定を構成します。また、指定した場合は関連付けられた Entra ID ユーザー アカウントを無効化します。

### 場所

組織 → メール → 共有メールボックスを追加

**完全な runbook 名**

rjgit-org\_mail\_add-shared-mailbox

### 詳細

| プロパティ    | 値                                                                                |
| -------- | -------------------------------------------------------------------------------- |
| バージョン    | 1.0.2                                                                            |
| 必要なモジュール | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| スケジュール可能 | いいえ                                                                              |

### アクセス許可

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

* **種類**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *アプリ専用の Exchange Online セッションで共有メールボックスを作成し、委任と地域設定を構成します*
* **種類**: Microsoft Graph
  * User.ReadWrite.All *(オプション — 機能: ユーザー アカウントを無効化)*
    * *DisableUser が有効な場合（既定でオン）、PATCH /users/{id} によりメールボックスのユーザー アカウントを無効化します*

#### RBAC roles

* Exchange Administrator
  * *共有メールボックスを作成するアプリ専用の Exchange Online セッションに必要です*

### パラメーター

#### メールボックス名

共有メールボックスのエイリアス（メールボックス名）。

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

#### 表示名

共有メールボックスの表示名。

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

#### ドメイン名

プライマリ SMTP アドレスに使用する任意のドメイン。指定しない場合は既定のドメインが使用されます。

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

#### 言語

共有メールボックスの言語/ロケールです。この設定は「受信トレイ」などのフォルダー名に影響します。既定は「en-US」です。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | いいえ   |
| 既定値   | en-US |
| 種類    | 文字列   |

**ポータル オプション**

| ポータル オプション | 値     |
| ---------- | ----- |
| en-US      | en-US |
| de-DE      | de-DE |
| fr-FR      | fr-FR |

#### タイムゾーン

共有メールボックスのタイムゾーン。既定は「W. Europe Standard Time」です。

| プロパティ | 値                       |
| ----- | ----------------------- |
| 必須    | いいえ                     |
| 既定値   | W. Europe Standard Time |
| 種類    | 文字列                     |

**ポータル オプション**

| ポータル オプション                     | 値                              |
| ------------------------------ | ------------------------------ |
| W. Europe Standard Time        | W. Europe Standard Time        |
| Central Europe Standard Time   | Central Europe Standard Time   |
| E. Europe Standard Time        | E. Europe Standard Time        |
| GMT Standard Time              | GMT Standard Time              |
| UTC                            | UTC                            |
| Eastern Standard Time          | Eastern Standard Time          |
| Central Standard Time          | Central Standard Time          |
| Mountain Standard Time         | Mountain Standard Time         |
| Pacific Standard Time          | Pacific Standard Time          |
| Alaska Standard Time           | Alaska Standard Time           |
| Hawaiian Standard Time         | Hawaiian Standard Time         |
| China Standard Time            | China Standard Time            |
| Tokyo Standard Time            | Tokyo Standard Time            |
| Korea Standard Time            | Korea Standard Time            |
| India Standard Time            | India Standard Time            |
| Arabian Standard Time          | Arabian Standard Time          |
| AUS Eastern Standard Time      | AUS Eastern Standard Time      |
| New Zealand Standard Time      | New Zealand Standard Time      |
| Romance Standard Time          | Romance Standard Time          |
| Russian Standard Time          | Russian Standard Time          |
| SA Pacific Standard Time       | SA Pacific Standard Time       |
| SE Asia Standard Time          | SE Asia Standard Time          |
| Singapore Standard Time        | Singapore Standard Time        |
| South Africa Standard Time     | South Africa Standard Time     |
| Turkey Standard Time           | Turkey Standard Time           |
| Argentina Standard Time        | Argentina Standard Time        |
| Atlantic Standard Time         | Atlantic Standard Time         |
| Canada Central Standard Time   | Canada Central Standard Time   |
| E. South America Standard Time | E. South America Standard Time |
| FLE Standard Time              | FLE Standard Time              |
| Israel Standard Time           | Israel Standard Time           |
| Middle East Standard Time      | Middle East Standard Time      |
| Nepal Standard Time            | Nepal Standard Time            |
| West Pacific Standard Time     | West Pacific Standard Time     |

#### 委任先

メールボックスへの委任アクセスを受け取る任意のユーザー。

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

#### 自動マッピング

true に設定すると、委任先の Outlook にメールボックスが自動的にマッピングされます。

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

#### 送信者として送信したメッセージのコピーを保存

true に設定すると、メールボックスとして送信したメッセージのコピーがメールボックスの送信済みアイテムに保存されます。

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

#### 代理送信したメッセージのコピーを保存

true に設定すると、メールボックスの代理で送信したメッセージのコピーがメールボックスの送信済みアイテムに保存されます。

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

#### ユーザーを無効化

true に設定すると、関連付けられた Entra ID ユーザー アカウントが無効化されます。

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

[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/mail/add-shared-mailbox.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.
