> 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/mail/add-shared-mailbox.md).

# Freigegebenes Postfach hinzufügen

### Beschreibung

Dieses Skript erstellt ein freigegebenes Postfach in Exchange Online und konfiguriert verschiedene Einstellungen wie Delegierung, automatische Zuordnung und Optionen zum Kopieren von Nachrichten. Falls angegeben, wird außerdem das zugehörige Entra-ID-Benutzerkonto deaktiviert.

### Ort

Organisation → E-Mail → Freigegebenes Postfach hinzufügen

**Vollständiger Runbook-Name**

rjgit-org\_mail\_add-shared-mailbox

### Details

| Eigenschaft          | Wert                                                                             |
| -------------------- | -------------------------------------------------------------------------------- |
| Version              | 1.0.1                                                                            |
| Erforderliche Module | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| Planbar              | nein                                                                             |

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Erstellt das freigegebene Postfach und setzt Delegierungs- und Regionseinstellungen in der Exchange-Online-Sitzung nur für die App*
* **Typ**: Microsoft Graph
  * User.ReadWrite.All *(optional — Funktion: Benutzerkonto deaktivieren)*
    * *Deaktiviert das Benutzerkonto des Postfachs über PATCH /users/{id}, wenn DisableUser aktiviert ist (standardmäßig ein)*

#### RBAC-Rollen

* Exchange-Administrator
  * *Erforderlich für die Exchange-Online-Sitzung nur für die App, die das freigegebene Postfach erstellt*

### Parameter

#### MailboxName

Der Alias (Postfachname) für das freigegebene Postfach.

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

#### DisplayName

Anzeigename für das freigegebene Postfach.

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

#### Domänenname

Optionale Domäne, die für die primäre SMTP-Adresse verwendet wird; wenn nicht angegeben, wird die Standarddomäne verwendet.

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

#### Sprache

Die Sprache/Region für das freigegebene Postfach. Diese Einstellung wirkt sich auf Ordnernamen wie "Posteingang" aus. Standard ist "en-US".

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

**Portaloptionen**

| Portaloption | Wert  |
| ------------ | ----- |
| en-US        | en-US |
| de-DE        | de-DE |
| fr-FR        | fr-FR |

#### Zeitzone

Die Zeitzone für das freigegebene Postfach. Standard ist "W. Europe Standard Time".

| Eigenschaft  | Wert                    |
| ------------ | ----------------------- |
| Erforderlich | falsch                  |
| Standardwert | W. Europe Standard Time |
| Typ          | Zeichenfolge            |

**Portaloptionen**

| Portaloption                   | Wert                           |
| ------------------------------ | ------------------------------ |
| W. Europe Standard Time        | W. Europe Standard Time        |
| Central Europe Standard Time   | Central Europe Standard Time   |
| E. Europe Standard Time        | E. Europe Standard Time        |
| GMT Standard Time              | GMT Standard Time              |
| UTC                            | UTC                            |
| Eastern Standard Time          | Eastern Standard Time          |
| Central Standard Time          | Central Standard Time          |
| Mountain Standard Time         | Mountain Standard Time         |
| Pacific Standard Time          | Pacific Standard Time          |
| Alaska Standard Time           | Alaska Standard Time           |
| Hawaiian Standard Time         | Hawaiian Standard Time         |
| China Standard Time            | China Standard Time            |
| Tokyo Standard Time            | Tokyo Standard Time            |
| Korea Standard Time            | Korea Standard Time            |
| India Standard Time            | India Standard Time            |
| Arabian Standard Time          | Arabian Standard Time          |
| AUS Eastern Standard Time      | AUS Eastern Standard Time      |
| New Zealand Standard Time      | New Zealand Standard Time      |
| Romance Standard Time          | Romance Standard Time          |
| Russian Standard Time          | Russian Standard Time          |
| SA Pacific Standard Time       | SA Pacific Standard Time       |
| SE Asia Standard Time          | SE Asia Standard Time          |
| Singapore Standard Time        | Singapore Standard Time        |
| South Africa Standard Time     | South Africa Standard Time     |
| Turkey Standard Time           | Turkey Standard Time           |
| Argentina Standard Time        | Argentina Standard Time        |
| Atlantic Standard Time         | Atlantic Standard Time         |
| Canada Central Standard Time   | Canada Central Standard Time   |
| E. South America Standard Time | E. South America Standard Time |
| FLE Standard Time              | FLE Standard Time              |
| Israel Standard Time           | Israel Standard Time           |
| Middle East Standard Time      | Middle East Standard Time      |
| Nepal Standard Time            | Nepal Standard Time            |
| West Pacific Standard Time     | West Pacific Standard Time     |

#### Delegieren an

Optionaler Benutzer, der delegierten Zugriff auf das Postfach erhält.

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

#### AutoMapping

Wenn auf true gesetzt, wird das Postfach für den Delegierten automatisch in Outlook zugeordnet.

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

#### MessageCopyForSentAsEnabled

Wenn auf true gesetzt, werden Kopien von Nachrichten, die als das Postfach gesendet werden, in den gesendeten Elementen des Postfachs gespeichert.

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

#### MessageCopyForSendOnBehalfEnabled

Wenn auf true gesetzt, werden Kopien von Nachrichten, die im Namen des Postfachs gesendet werden, in den gesendeten Elementen des Postfachs gespeichert.

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

#### Benutzer deaktivieren

Wenn auf true gesetzt, wird das zugehörige Entra ID-Benutzerkonto deaktiviert.

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

[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/mail/add-shared-mailbox.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.
