> 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/user/userinfo/rename-user.md).

# Benutzer umbenennen

Ändern Sie den Anmeldenamen (UPN) und den Postfach-Alias dieses Benutzers

### Beschreibung

Weist diesem Benutzer in Entra ID einen neuen Benutzerprinzipalnamen zu und aktualisiert optional den Postfachalias und die primäre E-Mail-Adresse in Exchange Online entsprechend. Anzeigename, Vorname und Nachname werden nicht geändert.

### Ort

Benutzer → Benutzerinfo → Benutzer umbenennen

**Vollständiger Runbook-Name**

rjgit-user\_userinfo\_rename-user

### Details

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

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Microsoft Graph
  * User.ReadWrite.All
    * *Führt einen PATCH auf /users/{UPN} aus, um den neuen Benutzerprinzipalnamen festzulegen*
* **Typ**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Führt Get-EXOMailbox und Set-Mailbox aus, um Alias und SMTP-Adressen nach der Umbenennung zu aktualisieren*

#### RBAC-Rollen

* Exchange-Administrator
  * *Erforderlich für die App-only-Exchange-Online-Sitzung zum Umschreiben der Postfachadressen*

### Parameter

#### Benutzername

Der Benutzerprinzipalname des Benutzers, für den das Runbook ausgeführt wird. Vom Portal anhand des ausgewählten Benutzers festgelegt.

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

#### NewUpn

Neuer Anmeldename, zum Beispiel <jane.doe@contoso.com>.

| Eigenschaft           | Wert                        |
| --------------------- | --------------------------- |
| Erforderlich          | wahr                        |
| Standardwert          |                             |
| Typ                   | Zeichenfolge                |
| Anzeigename im Portal | Neuer Benutzerprinzipalname |

#### ChangeMailnickname

Setzt den Postfachalias und den Namen anhand des neuen Benutzerprinzipalnamens.

| Eigenschaft           | Wert                             |
| --------------------- | -------------------------------- |
| Erforderlich          | falsch                           |
| Standardwert          | Wahr                             |
| Typ                   | Boolesch                         |
| Anzeigename im Portal | Den Postfachalias aktualisieren? |

#### UpdatePrimaryAddress

Macht den neuen Benutzerprinzipalnamen zur primären E-Mail-Adresse; die vorherigen Adressen bleiben als Aliase erhalten.

| Eigenschaft           | Wert                                      |
| --------------------- | ----------------------------------------- |
| Erforderlich          | falsch                                    |
| Standardwert          | Wahr                                      |
| Typ                   | Boolesch                                  |
| Anzeigename im Portal | Die primäre E-Mail-Adresse aktualisieren? |

[Zur Übersicht der Runbook-Referenz zurück](https://docs.realmjoin.com/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/de/automatisierung/runbooks/runbook-references/user/userinfo/rename-user.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
