> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/help/help-center-fr/email-security/microsoft-365.md).

# Configuration : Microsoft 365

Connectez votre tenant Microsoft 365 afin qu'Email Security puisse analyser vos boîtes aux lettres. Chaque boîte aux lettres bénéficie des mêmes fonctionnalités, quelle que soit sa licence Microsoft.

## Prérequis

* Un tenant Microsoft 365 **Administrateur général** compte.

## Connectez votre tenant

{% stepper %}
{% step %}

### Connectez-vous à Microsoft

1. Dans Stoïk Protect, accédez à `Email Security` > `Paramètres`.
2. Sélectionner `Microsoft 365` et cliquez sur `Confirmer`.
3. Connectez-vous avec votre compte d'administrateur général.
   {% endstep %}

{% step %}

### Acceptez les autorisations

Vérifiez et acceptez les autorisations demandées. Consultez [Autorisations requises](/help/help-center-fr/email-security/microsoft-365/permissions.md) pour savoir à quoi chacune sert.
{% endstep %}

{% step %}

### Suivez la configuration guidée

Stoïk Protect détecte votre type de licence et affiche le bon parcours :

* **Aucune action requise**: vous êtes redirigé vers la page de résultats. La configuration est terminée.
* **Action minimale requise**: activez l’audit dans Microsoft Purview. Consultez [Activer l’audit dans Microsoft Purview](#enable-audit-in-microsoft-purview).
* **Configuration complète requise**: configurez d’abord l’accès à Purview, puis activez l’audit. Consultez [Configurer l’accès à Microsoft Purview](#configure-microsoft-purview-access).
  {% endstep %}
  {% endstepper %}

## Configurer l’accès à Microsoft Purview

Seulement si Stoïk Protect le demande et que l’accès à Purview n’est pas encore configuré.

1. Accédez au [Portail Azure](https://portal.azure.com/) et connectez-vous avec un compte administrateur.
2. Ouvrez le `Marketplace`.
3. Recherchez Microsoft Purview, sélectionnez-le, puis cliquez sur `Créer`.

## Activer l’audit dans Microsoft Purview

Seulement si Stoïk Protect le demande.

1. Accédez à [Microsoft Purview](https://purview.microsoft.com/) et connectez-vous avec un compte administrateur.
2. Ouvrez `Solutions` > `Audit`.
3. Cliquez sur `Commencez à enregistrer l’activité des utilisateurs et des administrateurs`.

Si Purview affiche une erreur, consultez [Erreurs d’activation de Purview](/help/help-center-fr/email-security/microsoft-365/purview-errors.md).

## Après la connexion

* Les boîtes aux lettres surveillées apparaissent dans `Email Security` > `Boîtes aux lettres`. Voir [Statuts des boîtes aux lettres](/help/help-center-fr/email-security/mailbox-statuses.md).
* Stoïk récupère les e-mails des 90 derniers jours pour toutes les boîtes aux lettres surveillées, en commençant par les plus anciens. Cela peut prendre un certain temps.

Pour connecter un autre tenant (Microsoft 365 ou Google Workspace), accédez à `Email Security` > `Paramètres`, cliquez sur `Ajouter un fournisseur` et suivez les mêmes étapes. Vous pouvez connecter autant de tenants que nécessaire.

{% hint style="info" %}
Si la liste des utilisateurs n'apparaît pas plus de 10 minutes après la synchronisation, contactez <protect@stoik.io>.
{% endhint %}


---

# 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.stoik.io/help/help-center-fr/email-security/microsoft-365.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.
