# Office365 グループの追加

### 説明

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

### 場所

Organization → General → Add Office365 Group

**ランブックの完全名**

rjgit-org\_general\_add-office365-group

### アクセス許可

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

* **種類**: Microsoft Graph
  * Group.Create
  * Team.Create

### パラメーター

#### MailNickname

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

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

#### DisplayName

省略可能な表示名。空の場合は MailNickname が使用されます。

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

#### CreateTeam

"SharePoint Site のみ作成"（最終値: $false）または "Team（および SharePoint Site）を作成"（最終値: $true）を選択します。チームには所有者が必要なため、CreateTeam が true に設定されていて所有者が指定されていない場合、runbook は呼び出し元を所有者として設定します。

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

#### Private

グループの可視性を選択します: "Public"（最終値: $false）または "Private"（最終値: $true）。

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

#### MailEnabled

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

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

#### SecurityEnabled

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

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

#### Owner

グループの省略可能な所有者。

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

#### Owner2

グループの省略可能な 2 番目の所有者。

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

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions: 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:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/general/add-office365-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
