> 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/general/add-user.md).

# ユーザーの追加

### 説明

このランブックは、Microsoft Entra ID に新しいクラウド ユーザーを作成し、標準のユーザー プロパティを適用します。必要に応じて、ライセンス グループの割り当て、ユーザーの追加グループへの追加、Exchange Online のアーカイブ メールボックスの作成を行えます。

### 場所

組織 → 全般 → ユーザーの追加

**Runbook の完全名**

rjgit-org\_general\_add-user

### 詳細

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

### アクセス許可

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

* **種類**：Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *配布グループとオンライン アーカイブの有効化に使用されるアプリ専用の Exchange Online セッションを開きます*

#### RBAC ロール

* ユーザー管理者
  * *ユーザーの作成、マネージャー、スポンサー、グループの割り当て、およびライセンス データの読み取りをサポートします*
* Exchange 管理者
  * *配布グループとオンライン アーカイブを管理するアプリ専用の Exchange Online セッションに必要です*

### パラメーター

#### 名

ユーザーの名。

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

#### 姓

ユーザーの姓。

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

#### ユーザー プリンシパル名

ユーザー プリンシパル名 (UPN)。空の場合、ランブックは指定された名前から UPN を生成します。

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

#### MailNickname

ユーザーに使用されるメール ニックネーム (エイリアス)。空の場合、ランブックは UPN からそれを生成します。

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

#### DisplayName

ユーザーの表示名。空の場合、ランブックは指定された名前からそれを生成します。

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

#### 会社名

ユーザーの会社名。

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

#### 役職

ユーザーの役職。

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

#### 部署

ユーザーの部署。

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

#### マネージャー ID

ユーザーに設定する任意のマネージャーのユーザー ID。

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

#### スポンサー ID

ユーザーに設定する任意のスポンサーのユーザー ID。複数のスポンサーをサポートします。

| プロパティ | 値         |
| ----- | --------- |
| 必須    | いいえ       |
| 既定値   |           |
| 種類    | String\[] |

#### 携帯電話

ユーザーの携帯電話番号。

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

#### 場所名

ポータルのカスタマイズに使用される Office の場所名。

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

#### 番地

ユーザーの番地。

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

#### 郵便番号

ユーザーの郵便番号。

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

#### 市区町村

ユーザーの市区町村。

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

#### 都道府県/州

ユーザーの都道府県/州。

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

#### 国

ユーザーの国。

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

#### 利用場所

ライセンスに使用される利用場所。

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

#### 既定のライセンス

ユーザーに割り当てる任意のライセンス グループ。

| プロパティ   | 値               |
| ------- | --------------- |
| 必須      | いいえ             |
| 既定値     |                 |
| 種類      | 文字列             |
| ポータル表示名 | 割り当てるライセンス グループ |

#### 既定のグループ

ユーザーに割り当てるグループのコンマ区切りリスト。

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

#### 初期パスワード

初期パスワード。空の場合、ランブックはランダムなパスワードを生成します。

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

#### EXO アーカイブを有効化

true に設定すると、ユーザーの Exchange Online アーカイブ メールボックスを作成します。

| プロパティ   | 値                                 |
| ------- | --------------------------------- |
| 必須      | いいえ                               |
| 既定値     | False                             |
| 種類      | ブール値                              |
| ポータル表示名 | Exchange Online のアーカイブ メールボックスを作成 |

[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/general/add-user.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.
