> 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-office365-group.md).

# Office 365 グループを追加

### 説明

このランブックは Microsoft 365 グループを作成し、関連する SharePoint サイトをプロビジョニングします。必要に応じて、作成後にそのグループを Microsoft Teams のチームに昇格できます。

### 場所

組織 → 全般 → Office365 グループの追加

**Runbook の完全名**

rjgit-org\_general\_add-office365-group

### 詳細

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

### アクセス許可

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

* **種類**：Microsoft Graph
  * Group.Create
    * *可視性、メール設定、および所有者/メンバーの関連付けを備えた新しい Microsoft 365 グループを作成します*
  * Team.Create
    * *CreateTeam が有効な場合、グループを Teams のチームに昇格します*
  * Group.Read.All
    * *作成前に、同じメールニックネームを持つ既存のグループを確認します*
  * User.Read.All *（任意 — 機能: 所有者の割り当て）*
    * *所有者が指定されている場合、/users/{upn} を介して所有者ユーザーを解決します*

### パラメーター

#### MailNickname

グループ作成に使用するメールニックネーム。

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

#### DisplayName

任意の表示名。空の場合は MailNickname が使用されます。

| プロパティ   | 値                                       |
| ------- | --------------------------------------- |
| 必須      | いいえ                                     |
| 既定値     |                                         |
| 種類      | 文字列                                     |
| ポータル表示名 | DisplayName - 空の場合は MailNickname を使用します |

#### CreateTeam

「SharePoint サイトのみを作成する」（最終値: $false）か、「チームを作成する（および SharePoint サイトを作成する）」（最終値: $true）を選択します。チームには所有者が必要なため、CreateTeam が true に設定され、所有者が指定されていない場合、このランブックは呼び出し元を所有者として設定します。

| プロパティ   | 値               |
| ------- | --------------- |
| 必須      | いいえ             |
| 既定値     | False           |
| 種類      | ブール値            |
| ポータル表示名 | Teams のチームを作成する |

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

| ポータルオプション                         | 値   |
| --------------------------------- | --- |
| SharePoint サイトのみを作成する             | いいえ |
| チームを作成する（および SharePoint サイトを作成する） | はい  |

#### 非公開

グループの公開範囲を選択します: 「公開」（最終値: $false）または「非公開」（最終値: $true）。

| プロパティ   | 値     |
| ------- | ----- |
| 必須      | いいえ   |
| 既定値     | False |
| 種類      | ブール値  |
| ポータル表示名 | 公開範囲  |

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

| ポータルオプション | 値   |
| --------- | --- |
| 公開        | いいえ |
| 非公開       | はい  |

#### MailEnabled

true に設定すると、グループはメール有効になります。

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

#### SecurityEnabled

true に設定すると、グループはセキュリティ有効になります。

| プロパティ | 値    |
| ----- | ---- |
| 必須    | いいえ  |
| 既定値   | はい   |
| 種類    | ブール値 |

#### 所有者

グループの任意の所有者。

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

#### 所有者2

グループの任意の 2 人目の所有者。

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

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