> 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 に共有メールボックスを作成します。代理人はフルアクセスを取得でき、送信済みメールは共有の「送信済みアイテム」フォルダーに保存できます。メールボックスの背後にあるユーザー アカウントは無効化できるため、誰もそのアカウントでサインインできません。

### 受け入れ済みドメインを一覧で提供します

新しいメールボックスのドメインは、既定では自由入力です。ランブックをカスタマイズすると、代わりにオペレーターがテナントの受け入れ済みドメインから選択します：

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

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

### 場所

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

**完全な Runbook 名**

rjgit-org\_mail\_add-shared-mailbox

### 詳細

| プロパティ    | 値                                                                                 |
| -------- | --------------------------------------------------------------------------------- |
| バージョン    | 1.0.2                                                                             |
| 必須モジュール  | <p>RealmJoin.RunbookHelper (>= 0.8.10)<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 管理者
  * *共有メールボックスを作成するアプリ専用の Exchange Online セッションに必要です*

### パラメーター

#### MailboxName

メールボックスの別名。@ の前のメールアドレス部分になります。

| プロパティ   | 値     |
| ------- | ----- |
| 必須      | true  |
| 既定値     |       |
| 種類      | 文字列   |
| ポータル表示名 | エイリアス |

#### DisplayName

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

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

#### DomainName

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

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

#### 言語

メールボックスの言語で、受信トレイなどの既定フォルダー名が設定されます。

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

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

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

#### タイムゾーン

メールボックスのカレンダーとタイムスタンプに使用するタイムゾーン。

| プロパティ   | 値                       |
| ------- | ----------------------- |
| 必須      | false                   |
| 既定値     | 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     |

#### DelegateTo

メールボックスへのフルアクセスを取得するユーザー。指定しない場合は空欄にします。

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

#### AutoMapping

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

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

#### MessageCopyForSentAsEnabled

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

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

#### MessageCopyForSendOnBehalfEnabled

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

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

#### DisableUser

メールボックスの背後にあるユーザー アカウントへのサインインをブロックします。代理人のアクセスは維持されます。

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

[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 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.
