> 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/user/mail/convert-to-shared-mailbox.md).

# 共有メールボックスに変換

このユーザーのメールボックスを共有メールボックスに変換するか、元に戻します

### 説明

このユーザーのメールボックスを共有メールボックスに変換するか、共有メールボックスを通常のユーザーメールボックスに戻します。共有に変換する際は、委任者にフルアクセスを付与でき、ユーザーのグループ メンバーシップを削除できます。メールボックスに Exchange Online Plan 2 が必要な場合は、ライセンス グループを割り当てることができます。元に戻すと、他のすべてのユーザーのフルアクセス、送信者として送信、および代理送信の権限が削除されます。Bookings メールボックス、または Exchange Online で変換できない別の種類のメールボックスは、何も変更される前に実行を停止します。

### 場所

ユーザー → メール → 共有メールボックスに変換

**完全な Runbook 名**

rjgit-user\_mail\_convert-to-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
    * *ユーザーを読み取り、共有メールボックスへの変換時または共有メールボックスからの変換時に accountEnabled を切り替えます*
  * Group.Read.All *（オプション — 機能: グループとライセンスの処理）*
    * *表示名で通常またはアーカイブ用のライセンス グループを検索します*
  * GroupMember.ReadWrite.All *（オプション — 機能: グループとライセンスの処理）*
    * *変換中にグループ メンバーシップを削除し、ライセンス グループのメンバーシップを管理します*

#### RBAC ロール

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

### パラメーター

#### ユーザー名

Runbook が操作対象とするユーザーのユーザー プリンシパル名です。ポータルで選択したユーザーから設定されます。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | true                     |
| 既定値      |                          |
| 型        | 文字列                      |
| ポータルで非表示 | はい（runbook のカスタマイズで事前設定） |

#### delegateTo

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

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

#### 削除

共有メールボックスを通常のメールボックスに戻すかどうか。「アクション」選択で設定されます。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | false                    |
| 既定値      | False                    |
| 型        | ブール値                     |
| ポータルで非表示 | はい（runbook のカスタマイズで事前設定） |

#### AutoMapping

共有メールボックスを委任者の Outlook に自動的に表示します。

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

#### RemoveGroups

共有に変換する際に、ライセンス グループを含むすべてのグループからユーザーを削除します。これは、Exchange Online がメールボックスを共有として報告した後にのみ実行されます。

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

#### アーカイブ用ライセンス グループ

Exchange Online Plan 2 ライセンスを割り当てるグループです。共有メールボックスにアーカイブがある場合、50 GB を超える場合、または訴訟ホールド中の場合に必要です。不要な場合は空欄のままにしてください。複数のグループで同じ名前が使われていると、実行は停止します。

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

#### 通常のライセンス グループ

通常のメールボックスに戻す際にメールボックス ライセンスを割り当てるグループです。何も割り当てない場合は空欄のままにしてください。複数のグループで同じ名前が使われていると、実行は停止します。

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

[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/user/mail/convert-to-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.
