> 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/de/automatisierung/runbooks/runbook-references/org/general/add-office365-group.md).

# Office 365-Gruppe hinzufügen

### Beschreibung

Dieses Runbook erstellt eine Microsoft 365-Gruppe und stellt die zugehörige SharePoint-Website bereit. Optional kann die Gruppe nach der Erstellung zu einem Teams-Team hochgestuft werden.

### Ort

Organisation → Allgemein → Office365-Gruppe hinzufügen

**Vollständiger Runbook-Name**

rjgit-org\_general\_add-office365-group

### Details

| Eigenschaft          | Wert                               |
| -------------------- | ---------------------------------- |
| Version              | 1.0.1                              |
| Erforderliche Module | RealmJoin.RunbookHelper (>= 0.8.9) |
| Planbar              | nein                               |

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Microsoft Graph
  * Group.Create
    * *Erstellt die neue Microsoft 365-Gruppe mit Sichtbarkeit, E-Mail-Einstellungen und Besitzer-/Mitgliederzuordnungen*
  * Team.Create
    * *Stuft die Gruppe zu einem Teams-Team hoch, wenn CreateTeam aktiviert ist*
  * Group.Read.All
    * *Prüft vor dem Erstellen, ob bereits eine Gruppe mit demselben E-Mail-Alias vorhanden ist*
  * User.Read.All *(optional — Funktion: Besitzerzuweisung)*
    * *Löst die Besitzerbenutzer über /users/{upn} auf, wenn Besitzer angegeben werden*

### Parameter

#### MailNickname

Für die Gruppenerstellung verwendeter E-Mail-Alias.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | wahr         |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### DisplayName

Optionaler Anzeigename. Wenn leer, wird MailNickname verwendet.

| Eigenschaft           | Wert                                                      |
| --------------------- | --------------------------------------------------------- |
| Erforderlich          | falsch                                                    |
| Standardwert          |                                                           |
| Typ                   | Zeichenfolge                                              |
| Anzeigename im Portal | DisplayName – verwendet MailNickname, wenn es leer bleibt |

#### CreateTeam

Wählen Sie „Nur eine SharePoint-Website erstellen“ (Endwert: $false) oder „Ein Team (und eine SharePoint-Website) erstellen“ (Endwert: $true). Ein Team benötigt einen Besitzer, daher wird das Runbook den Aufrufer als Besitzer festlegen, wenn CreateTeam auf true gesetzt ist und kein Besitzer angegeben wird.

| Eigenschaft           | Wert                     |
| --------------------- | ------------------------ |
| Erforderlich          | falsch                   |
| Standardwert          | Falsch                   |
| Typ                   | Boolescher Wert          |
| Anzeigename im Portal | Ein Teams-Team erstellen |

**Portaloptionen**

| Portaloption                                     | Wert   |
| ------------------------------------------------ | ------ |
| Nur eine SharePoint-Website erstellen            | falsch |
| Ein Team (und eine SharePoint-Website) erstellen | wahr   |

#### Privat

Wählen Sie die Sichtbarkeit der Gruppe: „Öffentlich“ (Endwert: $false) oder „Privat“ (Endwert: $true).

| Eigenschaft           | Wert            |
| --------------------- | --------------- |
| Erforderlich          | falsch          |
| Standardwert          | Falsch          |
| Typ                   | Boolescher Wert |
| Anzeigename im Portal | Sichtbarkeit    |

**Portaloptionen**

| Portaloption | Wert   |
| ------------ | ------ |
| Öffentlich   | falsch |
| Privat       | wahr   |

#### MailEnabled

Wenn auf true gesetzt, ist die Gruppe für E-Mails aktiviert.

| Eigenschaft  | Wert            |
| ------------ | --------------- |
| Erforderlich | falsch          |
| Standardwert | Falsch          |
| Typ          | Boolescher Wert |

#### SecurityEnabled

Wenn auf true gesetzt, ist die Gruppe sicherheitsaktiviert.

| Eigenschaft  | Wert            |
| ------------ | --------------- |
| Erforderlich | falsch          |
| Standardwert | Wahr            |
| Typ          | Boolescher Wert |

#### Besitzer

Optionaler Besitzer der Gruppe.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### Besitzer2

Optionaler zweiter Besitzer der Gruppe.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

[Zurück zur Übersicht der Runbook-Referenz](/de/automatisierung/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/de/automatisierung/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.
