> 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-mail-contact.md).

# E-Mail-Kontakt hinzufügen

### Beschreibung

Dieses Runbook erstellt einen neuen Exchange Online-Mailkontakt (externer Kontakt) mithilfe des Cmdlets New-MailContact. Optional können Sie den Vornamen, Nachnamen und E-Mail-Alias des Kontakts festlegen und steuern, ob er in der Globalen Adressliste angezeigt wird. Alle Namen übernehmen standardmäßig den angegebenen Anzeigenamen, wenn sie nicht ausdrücklich festgelegt werden.

### Speicherort

Organisation → Mail → Mailkontakt hinzufügen

**Voller Runbook-Name**

rjgit-org\_mail\_add-mail-contact

### Berechtigungen

#### Anwendungsberechtigungen

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

#### RBAC-Rollen

* Exchange-Administrator

### Parameter

#### ExternalEmailAddress

Die externe SMTP-E-Mail-Adresse für den Mailkontakt. Dies ist die primäre E-Mail-Adresse, die für die Kommunikation mit dem Kontakt verwendet wird.

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

#### DisplayName

Der Anzeigename, der für den Mailkontakt in Exchange Online und der Globalen Adressliste angezeigt wird.

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

#### Name

Der eindeutige Kontaktname, der für die Verwaltung und Identifizierung verwendet wird. Wenn er leer gelassen wird, wird standardmäßig der Wert von DisplayName verwendet.

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

#### FirstName

Der Vorname des Kontakts. Wenn nicht angegeben, bleibt das Feld leer.

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

#### LastName

Der Nachname des Kontakts. Wenn nicht angegeben, bleibt das Feld leer.

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

#### Alias

Der E-Mail-Spitzname (Alias) für den Mailkontakt. Wenn nicht angegeben, generiert das System automatisch einen aus dem Anzeigenamen.

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

#### HideFromAddressLists

Wenn auf wahr gesetzt, wird der Mailkontakt aus der Globalen Adressliste und anderen Adresslisten ausgeblendet. Wenn falsch, ist der Kontakt für alle Benutzer sichtbar. Standardmäßig ist der Wert falsch.

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

[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-mail-contact.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.
