> 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

### アクセス許可

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

* **種類**: Office 365 Exchange Online
  * Exchange.ManageAsApp

#### RBAC ロール

* Exchange 管理者

### パラメーター

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

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

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

#### DisplayName

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

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

#### ドメイン名

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

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

#### 言語

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

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

#### タイムゾーン

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

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

#### 委任先

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

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

#### 自動マッピング

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

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

#### MessageCopyForSentAsEnabled

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

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

#### MessageCopyForSendOnBehalfEnabled

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

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

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

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

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