> 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/fr/automatisation/runbooks/runbook-references/user/mail/add-or-remove-email-address.md).

# Ajouter ou supprimer une adresse e-mail

### Description

Ajoute ou supprime une adresse e-mail alias sur une boîte aux lettres et peut éventuellement la définir comme adresse principale.

### Emplacement

Utilisateur → Courrier → Ajouter ou supprimer une adresse e-mail

**Nom complet du runbook**

rjgit-user\_mail\_add-or-remove-email-address

### Détails

| Propriété      | Valeur                                                                           |
| -------------- | -------------------------------------------------------------------------------- |
| Version        | 1.0.1                                                                            |
| Modules requis | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| Planifiable    | non                                                                              |

### Autorisations

#### Autorisations d’application

* **Type**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Ajoute, supprime ou promeut des alias SMTP via Set-Mailbox dans la session Exchange Online réservée aux applications*

#### rôles RBAC

* Administrateur Exchange
  * *Requis pour la session Exchange Online réservée aux applications afin de modifier les adresses proxy*

### Paramètres

#### UserName

Nom principal d’utilisateur de la boîte aux lettres.

| Propriété              | Valeur                                             |
| ---------------------- | -------------------------------------------------- |
| Obligatoire            | vrai                                               |
| Valeur par défaut      |                                                    |
| Type                   | Chaîne de caractères                               |
| Masqué dans le portail | oui (prédéfini via la personnalisation du runbook) |

#### Adresse e-mail

Adresse e-mail à ajouter ou à supprimer.

| Propriété         | Valeur               |
| ----------------- | -------------------- |
| Obligatoire       | vrai                 |
| Valeur par défaut |                      |
| Type              | Chaîne de caractères |

#### Supprimer

Si défini sur true, supprime l'adresse au lieu de l'ajouter.

| Propriété                  | Valeur                                             |
| -------------------------- | -------------------------------------------------- |
| Obligatoire                | faux                                               |
| Valeur par défaut          | Faux                                               |
| Type                       | Booléen                                            |
| Nom d’affichage du portail | Supprimer cette adresse                            |
| Masqué dans le portail     | oui (prédéfini via la personnalisation du runbook) |

#### asPrimary

Si défini sur true, définit l'adresse spécifiée comme adresse SMTP principale.

| Propriété                  | Valeur                           |
| -------------------------- | -------------------------------- |
| Obligatoire                | faux                             |
| Valeur par défaut          | Faux                             |
| Type                       | Booléen                          |
| Nom d’affichage du portail | Définir comme adresse principale |

[Retour à l’aperçu de la référence du runbook](/fr/automatisation/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/fr/automatisation/runbooks/runbook-references/user/mail/add-or-remove-email-address.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.
