> 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/group/mail/enable-or-disable-external-mail.md).

# Externe E-Mails aktivieren oder deaktivieren

### Beschreibung

Dieses Runbook konfiguriert, ob externe Absender einer Microsoft 365-Gruppe E-Mails senden dürfen. Es verwendet Exchange Online, um die Einstellung RequireSenderAuthenticationEnabled zu aktivieren oder zu deaktivieren. Sie können auch den aktuellen Status abfragen, ohne Änderungen vorzunehmen.

### Ort

Gruppe → E-Mail → Externe E-Mail aktivieren oder deaktivieren

**Vollständiger Runbook-Name**

rjgit-group\_mail\_enable-or-disable-external-mail

### Details

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

### Hinweise

Das Festlegen über Microsoft Graph ist seit dem 28.06.2021 fehlerhaft. Attribut: allowExternalSenders. Siehe <https://docs.microsoft.com/en-us/graph/known-issues#setting-the-allowexternalsenders-property>.

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Führt Get-/Set-UnifiedGroup aus, um RequireSenderAuthenticationEnabled in der App-only-Sitzung umzuschalten*

#### RBAC-Rollen

* Exchange-Administrator
  * *Erforderlich für die Exchange Online-App-only-Sitzung, die die Einstellung für externe E-Mails ändert*

### Parameter

#### GroupId

Objekt-ID der Microsoft 365-Gruppe.

| Eigenschaft            | Wert                                        |
| ---------------------- | ------------------------------------------- |
| Erforderlich           | wahr                                        |
| Standardwert           |                                             |
| Typ                    | Zeichenfolge                                |
| Im Portal ausgeblendet | ja (vorkonfiguriert über Runbook-Anpassung) |

#### Aktion

„Externe E-Mail aktivieren“ (Endwert: 0), „Externe E-Mail deaktivieren“ (Endwert: 1) oder „Nur aktuellen Status abfragen“ (Endwert: 2) können als auszuführende Aktion ausgewählt werden. Wenn 0 festgelegt ist, erlaubt das Runbook externen Absendern, der Gruppe E-Mails zu senden. Wenn 1 festgelegt ist, blockiert es externe Absender daran, der Gruppe E-Mails zu senden. Wenn 2 festgelegt ist, gibt es zurück, ob externe E-Mails für die Gruppe derzeit aktiviert oder deaktiviert sind, ohne Änderungen vorzunehmen.

| Eigenschaft           | Wert             |
| --------------------- | ---------------- |
| Erforderlich          | falsch           |
| Standardwert          | 0                |
| Typ                   | Int32            |
| Anzeigename im Portal | Aktion auswählen |

**Portaloptionen**

| Portaloption                  | Wert |
| ----------------------------- | ---- |
| Externe E-Mail aktivieren     | 0    |
| Externe E-Mail deaktivieren   | 1    |
| Nur aktuellen Status abfragen | 2    |

[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/group/mail/enable-or-disable-external-mail.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.
