> 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/org/mail/add-shared-mailbox.md).

# Ajouter une boîte aux lettres partagée

Créer une boîte aux lettres partagée avec un délégué facultatif

### Description

Crée une boîte aux lettres partagée dans Exchange Online avec la langue et le fuseau horaire choisis. Un délégué peut obtenir un accès complet, et les mails envoyés peuvent être conservés dans le dossier Éléments envoyés partagé. Le compte utilisateur derrière la boîte aux lettres peut être désactivé afin que personne ne s'y connecte.

### Proposer les domaines acceptés sous forme de liste

Le domaine de la nouvelle boîte aux lettres est du texte libre par défaut. Avec une personnalisation du runbook, l'opérateur le choisit à partir des domaines acceptés du Tenant à la place :

```json
{
        "Runbooks": {
        "rjgit-org_mail_add-shared-mailbox": {
            "ParameterList": [
                {
                    "Name": "DomainName",
                    "Select": {
                        "Options": [
                                {
                                    "Value": "contoso.onmicrosoft.com"
                                },
                                {
                                    "Value": "contoso.com"
                                }
                            ]
                    },
                    "DefaultValue": "contoso.com"
                }
            ]
        }
    }
}
```

Pour plus d'informations sur la façon de personnaliser les runbooks, veuillez vous reporter au [Guide de personnalisation du runbook](https://docs.realmjoin.com/automation/runbooks/runbook-customization).

### Emplacement

Organisation → Courrier → Ajouter une boîte aux lettres partagée

**Nom complet du runbook**

rjgit-org\_mail\_add-shared-mailbox

### Détails

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

### Autorisations

#### Autorisations d’application

* **Type**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Crée la boîte aux lettres partagée et configure la délégation et les paramètres régionaux dans la session Exchange Online réservée à l'application*
* **Type**: Microsoft Graph
  * User.ReadWrite.All *(facultatif — fonctionnalité : désactiver le compte utilisateur)*
    * *Désactive le compte utilisateur de la boîte aux lettres via PATCH /users/{id} lorsque DisableUser est activé (activé par défaut)*

#### rôles RBAC

* Administrateur Exchange
  * *Requis pour la session Exchange Online réservée à l'application qui crée la boîte aux lettres partagée*

### Paramètres

#### MailboxName

Alias de la boîte aux lettres, qui devient la partie de l’adresse e-mail avant le signe @.

| Propriété                  | Valeur |
| -------------------------- | ------ |
| Obligatoire                | vrai   |
| Valeur par défaut          |        |
| Type                       | Chaîne |
| Nom d’affichage du portail | Alias  |

#### DisplayName

Nom affiché dans le carnet d’adresses. Laissez vide pour utiliser l’alias.

| Propriété         | Valeur |
| ----------------- | ------ |
| Obligatoire       | faux   |
| Valeur par défaut |        |
| Type              | Chaîne |

#### DomainName

Domaine de l'adresse e-mail. Laisser vide pour utiliser le domaine par défaut du Tenant.

| Propriété                  | Valeur  |
| -------------------------- | ------- |
| Obligatoire                | faux    |
| Valeur par défaut          |         |
| Type                       | Chaîne  |
| Nom d’affichage du portail | Domaine |

#### Langue

Langue de la boîte aux lettres, qui définit les noms des dossiers par défaut comme la Boîte de réception.

| Propriété                  | Valeur |
| -------------------------- | ------ |
| Obligatoire                | faux   |
| Valeur par défaut          | en-US  |
| Type                       | Chaîne |
| Nom d’affichage du portail | Langue |

**Options du portail**

| Option du portail | Valeur |
| ----------------- | ------ |
| en-US             | en-US  |
| de-DE             | de-DE  |
| fr-FR             | fr-FR  |

#### Fuseau horaire

Fuseau horaire utilisé pour le calendrier et les horodatages de la boîte aux lettres.

| Propriété                  | Valeur                  |
| -------------------------- | ----------------------- |
| Obligatoire                | faux                    |
| Valeur par défaut          | W. Europe Standard Time |
| Type                       | Chaîne                  |
| Nom d’affichage du portail | Fuseau horaire          |

**Options du portail**

| Option du portail              | Valeur                         |
| ------------------------------ | ------------------------------ |
| W. Europe Standard Time        | W. Europe Standard Time        |
| Central Europe Standard Time   | Central Europe Standard Time   |
| E. Europe Standard Time        | E. Europe Standard Time        |
| GMT Standard Time              | GMT Standard Time              |
| UTC                            | UTC                            |
| Eastern Standard Time          | Eastern Standard Time          |
| Central Standard Time          | Central Standard Time          |
| Mountain Standard Time         | Mountain Standard Time         |
| Pacific Standard Time          | Pacific Standard Time          |
| Alaska Standard Time           | Alaska Standard Time           |
| Hawaiian Standard Time         | Hawaiian Standard Time         |
| China Standard Time            | China Standard Time            |
| Tokyo Standard Time            | Tokyo Standard Time            |
| Korea Standard Time            | Korea Standard Time            |
| India Standard Time            | India Standard Time            |
| Arabian Standard Time          | Arabian Standard Time          |
| AUS Eastern Standard Time      | AUS Eastern Standard Time      |
| New Zealand Standard Time      | New Zealand Standard Time      |
| Romance Standard Time          | Romance Standard Time          |
| Russian Standard Time          | Russian Standard Time          |
| SA Pacific Standard Time       | SA Pacific Standard Time       |
| SE Asia Standard Time          | SE Asia Standard Time          |
| Singapore Standard Time        | Singapore Standard Time        |
| South Africa Standard Time     | South Africa Standard Time     |
| Turkey Standard Time           | Turkey Standard Time           |
| Argentina Standard Time        | Argentina Standard Time        |
| Atlantic Standard Time         | Atlantic Standard Time         |
| Canada Central Standard Time   | Canada Central Standard Time   |
| E. South America Standard Time | E. South America Standard Time |
| FLE Standard Time              | FLE Standard Time              |
| Israel Standard Time           | Israel Standard Time           |
| Middle East Standard Time      | Middle East Standard Time      |
| Nepal Standard Time            | Nepal Standard Time            |
| West Pacific Standard Time     | West Pacific Standard Time     |

#### DéléguerÀ

Utilisateur qui obtient un accès complet à la boîte aux lettres. Laisser vide si aucun.

| Propriété         | Valeur |
| ----------------- | ------ |
| Obligatoire       | faux   |
| Valeur par défaut |        |
| Type              | Chaîne |

#### AutoMapping

La boîte aux lettres s'ouvre automatiquement dans Outlook du délégué.

| Propriété         | Valeur  |
| ----------------- | ------- |
| Obligatoire       | faux    |
| Valeur par défaut | Faux    |
| Type              | Booléen |

#### MessageCopyForSentAsEnabled

Les mails envoyés en tant que boîte aux lettres partagée sont également stockés dans son dossier Éléments envoyés.

| Propriété         | Valeur  |
| ----------------- | ------- |
| Obligatoire       | faux    |
| Valeur par défaut | Vrai    |
| Type              | Booléen |

#### MessageCopyForSendOnBehalfEnabled

Les mails envoyés au nom de la boîte aux lettres partagée sont également stockés dans son dossier Éléments envoyés.

| Propriété         | Valeur  |
| ----------------- | ------- |
| Obligatoire       | faux    |
| Valeur par défaut | Vrai    |
| Type              | Booléen |

#### DésactiverUtilisateur

Bloque la connexion pour le compte utilisateur derrière la boîte aux lettres. Les délégués conservent leur accès.

| Propriété         | Valeur  |
| ----------------- | ------- |
| Obligatoire       | faux    |
| Valeur par défaut | Vrai    |
| Type              | Booléen |

[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 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/fr/automatisation/runbooks/runbook-references/org/mail/add-shared-mailbox.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.
