> 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, automatisches Zuordnen und Optionen für das Kopieren von Nachrichten. Falls angegeben, wird außerdem das zugehörige EntraID-Benutzerkonto deaktiviert.

### Ort

Organisation → Mail → Freigegebenes Postfach hinzufügen

**Vollständiger Runbook-Name**

rjgit-org\_mail\_add-shared-mailbox

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Office 365 Exchange Online
  * Exchange.ManageAsApp

#### RBAC-Rollen

* Exchange-Administrator

### Parameter

#### Postfachname

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 | false        |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### Domänenname

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

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

#### Sprache

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

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

#### Zeitzone

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

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

#### Delegieren an

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

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

#### AutoMapping

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

| Eigenschaft  | Wert     |
| ------------ | -------- |
| Erforderlich | false    |
| Standardwert | False    |
| Typ          | Boolesch |

#### MessageCopyForSentAsEnabled

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

| Eigenschaft  | Wert     |
| ------------ | -------- |
| Erforderlich | false    |
| Standardwert | Wahr     |
| Typ          | Boolesch |

#### MessageCopyForSendOnBehalfEnabled

Wenn auf true gesetzt, werden Kopien von Nachrichten, die im Auftrag des Postfachs gesendet wurden, in den Gesendeten Elementen des Postfachs gespeichert.

| Eigenschaft  | Wert     |
| ------------ | -------- |
| Erforderlich | false    |
| Standardwert | Wahr     |
| Typ          | Boolesch |

#### Benutzer deaktivieren

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

| Eigenschaft  | Wert     |
| ------------ | -------- |
| Erforderlich | false    |
| Standardwert | Wahr     |
| Typ          | Boolesch |

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