> 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 に共有メールボックスを作成します。委任されたユーザーは、そのメールボックスへのフル アクセスと代理送信を行え、送信済みメールは共有の「送信済みアイテム」フォルダーに保存できます。メールボックスの背後にあるユーザー アカウントは無効化できるため、誰もそのアカウントでサインインしません。設定を適用できない場合は、メールボックスは保持され、実行は失敗し、不足している項目が示されます。

### 受け入れ可能なドメインを一覧として提供する

新しいメールボックスのドメインは、既定では自由入力です。runbook のカスタマイズを使うと、代わりにオペレーターはテナントの受け入れ可能なドメインから選択できます:

```json
{
        "Runbooks": {
        "rjgit-org_mail_add-shared-mailbox": {
            "ParameterList": [
                {
                    "Name": "DomainName",
                    "Select": {
                        "Options": [
                                {
                                    "Value": "contoso.onmicrosoft.com"
                                },
                                {
                                    "Value": "contoso.com"
                                }
                            ]
                    },
                    "DefaultValue": "contoso.com"
                }
            ]
        }
    }
}
```

### 使用するタイムゾーンのみを提供する

タイムゾーン一覧には、場所にちなんで名付けられた Windows のタイムゾーンが含まれており、Windows や Outlook と同様に UTC からのオフセット順に並んでいます。各項目のオフセットは標準時です。Exchange Online は夏時間を独自に適用するため、シドニーは UTC+10:00 として表示され、10月から4月までは UTC+11:00 で動作します。

runbook のカスタマイズを使うと、オペレーターにはあなたの拠点のタイムゾーンだけが表示されます:

```json
{
    "Runbooks": {
        "rjgit-org_mail_add-shared-mailbox": {
            "ParameterList": [
                {
                    "Name": "TimeZone",
                    "SelectSimple": {
                        "(UTC-05:00) Eastern Time (US & Canada)": "Eastern Standard Time",
                        "(UTC+00:00) Dublin, Edinburgh, Lisbon, London": "GMT Standard Time",
                        "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna": "W. Europe Standard Time",
                        "(UTC+10:00) Canberra, Melbourne, Sydney": "AUS Eastern Standard Time"
                    },
                    "Default": "W. Europe Standard Time"
                }
            ]
        }
    }
}
```

左側のテキストはポータルに表示され、右側の値は Exchange Online が保存する Windows のタイムゾーン ID です。どちらも以下のタイムゾーン パラメーターのポータル オプションから取得します。 `既定値` あらかじめ選択される ID を指定します。

runbook のカスタマイズ方法の詳細については、 [Runbook カスタマイズ ガイド](https://docs.realmjoin.com/automation/runbooks/runbook-customization).

### 場所

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

**完全な Runbook 名**

rjgit-org\_mail\_add-shared-mailbox

### 詳細

| プロパティ    | 値                                                                                                                               |
| -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| バージョン    | 1.1.0                                                                                                                           |
| 必須モジュール  | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>Microsoft.Graph.Authentication (>= 2.41.2)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| スケジュール可能 | いいえ                                                                                                                             |

### アクセス許可

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

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

#### RBAC ロール

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

### パラメーター

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

@ の前に来るメール アドレスの一部になる、メールボックスのエイリアス。

| プロパティ    | 値     |
| -------- | ----- |
| 必須       | true  |
| 既定値      |       |
| 型        | 文字列   |
| ポータルの表示名 | Alias |

#### DisplayName

アドレス帳に表示される名前。空欄のままにすると、エイリアスが使用されます。

| プロパティ    | 値     |
| -------- | ----- |
| 必須       | false |
| 既定値      |       |
| 型        | 文字列   |
| ポータルの表示名 | 表示名   |

#### DomainName

メール アドレスのドメイン。空欄のままにすると、テナントの既定ドメインが使われます。

| プロパティ    | 値     |
| -------- | ----- |
| 必須       | false |
| 既定値      |       |
| 型        | 文字列   |
| ポータルの表示名 | ドメイン  |

#### 言語

メールボックスの言語。受信トレイなどの既定フォルダー名を設定します。

| プロパティ    | 値     |
| -------- | ----- |
| 必須       | false |
| 既定値      | en-US |
| 型        | 文字列   |
| ポータルの表示名 | 言語    |

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

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

#### TimeZone

メールボックスの予定表とタイムスタンプに使用するタイムゾーン。一覧には標準時のオフセットが表示され、地域で夏時間を使用する場合は自動的に適用されます。

| プロパティ    | 値                       |
| -------- | ----------------------- |
| 必須       | false                   |
| 既定値      | W. Europe Standard Time |
| 型        | 文字列                     |
| ポータルの表示名 | タイムゾーン                  |

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

| ポータル オプション                                                    | 値                               |
| ------------------------------------------------------------- | ------------------------------- |
| (UTC-12:00) International Date Line West                      | Dateline Standard Time          |
| (UTC-10:00) Aleutian Islands                                  | Aleutian Standard Time          |
| (UTC-10:00) Hawaii                                            | Hawaiian Standard Time          |
| (UTC-09:30) Marquesas Islands                                 | Marquesas Standard Time         |
| (UTC-09:00) Alaska                                            | Alaskan Standard Time           |
| (UTC-08:00) Baja California                                   | Pacific Standard Time (Mexico)  |
| (UTC-08:00) Pacific Time (US & Canada)                        | Pacific Standard Time           |
| (UTC-07:00) Arizona                                           | US Mountain Standard Time       |
| (UTC-07:00) La Paz, Mazatlan                                  | Mountain Standard Time (Mexico) |
| (UTC-07:00) Mountain Time (US & Canada)                       | Mountain Standard Time          |
| (UTC-07:00) Pacific Time (British Columbia)                   | British Columbia Standard Time  |
| (UTC-07:00) Yukon                                             | Yukon Standard Time             |
| (UTC-06:00) Central America                                   | Central America Standard Time   |
| (UTC-06:00) Central Time (US & Canada)                        | Central Standard Time           |
| (UTC-06:00) Easter Island                                     | Easter Island Standard Time     |
| (UTC-06:00) Guadalajara, Mexico City, Monterrey               | Central Standard Time (Mexico)  |
| (UTC-06:00) Mountain Time (Alberta)                           | Alberta Standard Time           |
| (UTC-06:00) Saskatchewan                                      | Canada Central Standard Time    |
| (UTC-05:00) Bogota, Lima, Quito, Rio Branco                   | SA Pacific Standard Time        |
| (UTC-05:00) Chetumal                                          | Eastern Standard Time (Mexico)  |
| (UTC-05:00) Eastern Time (US & Canada)                        | Eastern Standard Time           |
| (UTC-05:00) Haiti                                             | Haiti Standard Time             |
| (UTC-05:00) Havana                                            | Cuba Standard Time              |
| (UTC-05:00) Indiana (East)                                    | US Eastern Standard Time        |
| (UTC-05:00) Manitoba                                          | Manitoba Standard Time          |
| (UTC-05:00) Turks and Caicos                                  | Turks And Caicos Standard Time  |
| (UTC-04:00) Atlantic Time (Canada)                            | Atlantic Standard Time          |
| (UTC-04:00) Caracas                                           | Venezuela Standard Time         |
| (UTC-04:00) Cuiaba                                            | Central Brazilian Standard Time |
| (UTC-04:00) Georgetown, La Paz, Manaus, San Juan              | SA Western Standard Time        |
| (UTC-04:00) Santiago                                          | Pacific SA Standard Time        |
| (UTC-03:30) Newfoundland                                      | Newfoundland Standard Time      |
| (UTC-03:00) Araguaina                                         | Tocantins Standard Time         |
| (UTC-03:00) Asuncion                                          | Paraguay Standard Time          |
| (UTC-03:00) Brasilia                                          | E. South America Standard Time  |
| (UTC-03:00) Cayenne, Fortaleza                                | SA Eastern Standard Time        |
| (UTC-03:00) City of Buenos Aires                              | Argentina Standard Time         |
| (UTC-03:00) Montevideo                                        | Montevideo Standard Time        |
| (UTC-03:00) Punta Arenas                                      | Magallanes Standard Time        |
| (UTC-03:00) Saint Pierre and Miquelon                         | Saint Pierre Standard Time      |
| (UTC-03:00) Salvador                                          | Bahia Standard Time             |
| (UTC-02:00) Greenland                                         | Greenland Standard Time         |
| (UTC-01:00) Azores                                            | Azores Standard Time            |
| (UTC-01:00) Cabo Verde Is.                                    | Cape Verde Standard Time        |
| (UTC) Coordinated Universal Time                              | UTC                             |
| (UTC+00:00) Casablanca                                        | Morocco Standard Time           |
| (UTC+00:00) Dublin, Edinburgh, Lisbon, London                 | GMT Standard Time               |
| (UTC+00:00) Monrovia, Reykjavik                               | Greenwich Standard Time         |
| (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna  | W. Europe Standard Time         |
| (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague | Central Europe Standard Time    |
| (UTC+01:00) Brussels, Copenhagen, Madrid, Paris               | Romance Standard Time           |
| (UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb                  | Central European Standard Time  |
| (UTC+01:00) West Central Africa                               | W. Central Africa Standard Time |
| (UTC+02:00) Athens, Bucharest                                 | GTB Standard Time               |
| (UTC+02:00) Beirut                                            | Middle East Standard Time       |
| (UTC+02:00) Cairo                                             | Egypt Standard Time             |
| (UTC+02:00) Chisinau                                          | E. Europe Standard Time         |
| (UTC+02:00) Gaza, Hebron                                      | West Bank Standard Time         |
| (UTC+02:00) Harare, Pretoria                                  | South Africa Standard Time      |
| (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius     | FLE Standard Time               |
| (UTC+02:00) Jerusalem                                         | Israel Standard Time            |
| (UTC+02:00) Juba                                              | South Sudan Standard Time       |
| (UTC+02:00) Kaliningrad                                       | Kaliningrad Standard Time       |
| (UTC+02:00) Khartoum                                          | Sudan Standard Time             |
| (UTC+02:00) Tripoli                                           | Libya Standard Time             |
| (UTC+02:00) Windhoek                                          | Namibia Standard Time           |
| (UTC+03:00) Amman                                             | Jordan Standard Time            |
| (UTC+03:00) Baghdad                                           | Arabic Standard Time            |
| (UTC+03:00) Damascus                                          | Syria Standard Time             |
| (UTC+03:00) Istanbul                                          | Turkey Standard Time            |
| (UTC+03:00) Kuwait, Riyadh                                    | Arab Standard Time              |
| (UTC+03:00) Minsk                                             | Belarus Standard Time           |
| (UTC+03:00) Moscow, St. Petersburg                            | Russian Standard Time           |
| (UTC+03:00) Nairobi                                           | E. Africa Standard Time         |
| (UTC+03:00) Volgograd                                         | Volgograd Standard Time         |
| (UTC+03:30) Tehran                                            | Iran Standard Time              |
| (UTC+04:00) Abu Dhabi, Muscat                                 | Arabian Standard Time           |
| (UTC+04:00) Astrakhan, Ulyanovsk                              | Astrakhan Standard Time         |
| (UTC+04:00) Baku                                              | Azerbaijan Standard Time        |
| (UTC+04:00) Izhevsk, Samara                                   | Russia Time Zone 3              |
| (UTC+04:00) Port Louis                                        | Mauritius Standard Time         |
| (UTC+04:00) Saratov                                           | Saratov Standard Time           |
| (UTC+04:00) Tbilisi                                           | Georgian Standard Time          |
| (UTC+04:00) Yerevan                                           | Caucasus Standard Time          |
| (UTC+04:30) Kabul                                             | Afghanistan Standard Time       |
| (UTC+05:00) Ashgabat, Tashkent                                | West Asia Standard Time         |
| (UTC+05:00) Astana                                            | Qyzylorda Standard Time         |
| (UTC+05:00) Ekaterinburg                                      | Ekaterinburg Standard Time      |
| (UTC+05:00) Islamabad, Karachi                                | Pakistan Standard Time          |
| (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi               | India Standard Time             |
| (UTC+05:30) Sri Jayawardenepura                               | Sri Lanka Standard Time         |
| (UTC+05:45) Kathmandu                                         | Nepal Standard Time             |
| (UTC+06:00) Bishkek                                           | Central Asia Standard Time      |
| (UTC+06:00) Dhaka                                             | Bangladesh Standard Time        |
| (UTC+06:00) Omsk                                              | Omsk Standard Time              |
| (UTC+06:30) Yangon (Rangoon)                                  | Myanmar Standard Time           |
| (UTC+07:00) Bangkok, Hanoi, Jakarta                           | SE Asia Standard Time           |
| (UTC+07:00) Barnaul, Gorno-Altaysk                            | Altai Standard Time             |
| (UTC+07:00) Hovd                                              | W. Mongolia Standard Time       |
| (UTC+07:00) Krasnoyarsk                                       | North Asia Standard Time        |
| (UTC+07:00) Novosibirsk                                       | N. Central Asia Standard Time   |
| (UTC+07:00) Tomsk                                             | Tomsk Standard Time             |
| (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi             | China Standard Time             |
| (UTC+08:00) Irkutsk                                           | North Asia East Standard Time   |
| (UTC+08:00) Kuala Lumpur, Singapore                           | Singapore Standard Time         |
| (UTC+08:00) Perth                                             | W. Australia Standard Time      |
| (UTC+08:00) Taipei                                            | Taipei Standard Time            |
| (UTC+08:00) Ulaanbaatar                                       | Ulaanbaatar Standard Time       |
| (UTC+08:45) Eucla                                             | Aus Central W. Standard Time    |
| (UTC+09:00) Chita                                             | Transbaikal Standard Time       |
| (UTC+09:00) Osaka, Sapporo, Tokyo                             | Tokyo Standard Time             |
| (UTC+09:00) Pyongyang                                         | North Korea Standard Time       |
| (UTC+09:00) Seoul                                             | Korea Standard Time             |
| (UTC+09:00) Yakutsk                                           | Yakutsk Standard Time           |
| (UTC+09:30) Adelaide                                          | Cen. Australia Standard Time    |
| (UTC+09:30) Darwin                                            | AUS Central Standard Time       |
| (UTC+10:00) Brisbane                                          | E. Australia Standard Time      |
| (UTC+10:00) Canberra, Melbourne, Sydney                       | AUS Eastern Standard Time       |
| (UTC+10:00) Guam, Port Moresby                                | West Pacific Standard Time      |
| (UTC+10:00) Hobart                                            | Tasmania Standard Time          |
| (UTC+10:00) Vladivostok                                       | Vladivostok Standard Time       |
| (UTC+10:30) Lord Howe Island                                  | Lord Howe Standard Time         |
| (UTC+11:00) Bougainville Island                               | Bougainville Standard Time      |
| (UTC+11:00) Chokurdakh                                        | Russia Time Zone 10             |
| (UTC+11:00) Magadan                                           | Magadan Standard Time           |
| (UTC+11:00) Norfolk Island                                    | Norfolk Standard Time           |
| (UTC+11:00) Sakhalin                                          | Sakhalin Standard Time          |
| (UTC+11:00) Solomon Is., New Caledonia                        | Central Pacific Standard Time   |
| (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky                  | Russia Time Zone 11             |
| (UTC+12:00) Auckland, Wellington                              | New Zealand Standard Time       |
| (UTC+12:00) Fiji                                              | Fiji Standard Time              |
| (UTC+12:45) Chatham Islands                                   | Chatham Islands Standard Time   |
| (UTC+13:00) Nuku'alofa                                        | Tonga Standard Time             |
| (UTC+13:00) Samoa                                             | サモア標準時                          |
| (UTC+14:00) キリティマティ島                                          | ライン諸島標準時                        |

#### DelegateTo

メールボックスへのフル アクセス権を持ち、その代理で送信できるユーザーです。複数を同時に選択できます。いない場合は空のままにしてください。いずれか 1 人でも Exchange Online で見つからない場合は、何も作成されません。

| プロパティ | 値      |
| ----- | ------ |
| 必須    | false  |
| 既定値   |        |
| 型     | 文字列\[] |

#### AutoMapping

メールボックスは、代理人の Outlook で自動的に開きます。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | false                    |
| 既定値      | False                    |
| 型        | ブール値                     |
| ポータルの表示名 | 代理人の Outlook で自動的に開きますか? |

#### MessageCopyForSentAsEnabled

共有メールボックスとして送信されたメールは、その［送信済みアイテム］フォルダーにも保存されます。

| プロパティ    | 値                              |
| -------- | ------------------------------ |
| 必須       | false                          |
| 既定値      | True                           |
| 型        | ブール値                           |
| ポータルの表示名 | メールボックスとして送信されたメールのコピーを保持しますか? |

#### MessageCopyForSendOnBehalfEnabled

共有メールボックスの代理として送信されたメールは、その［送信済みアイテム］フォルダーにも保存されます。

| プロパティ    | 値                      |
| -------- | ---------------------- |
| 必須       | false                  |
| 既定値      | True                   |
| 型        | ブール値                   |
| ポータルの表示名 | 代理送信されたメールのコピーを保持しますか? |

#### DisableUser

メールボックスの背後にあるユーザー アカウントへのサインインをブロックします。代理人のアクセスは維持されます。アカウントが数分以内に表示されない場合、実行は失敗し、Entra ID でサインインをブロックする必要があります。

| プロパティ    | 値                             |
| -------- | ----------------------------- |
| 必須       | false                         |
| 既定値      | True                          |
| 型        | ブール値                          |
| ポータルの表示名 | メールボックス アカウントのサインインをブロックしますか？ |

[Runbook リファレンスの概要に戻る](https://docs.realmjoin.com/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/mail/add-shared-mailbox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
