Microsoft 365 / Outlook



Public: Mandant, fiduciaire, IT
Fonction: typiquement dès le plan Professional (microsoft365)
En 60 secondes
| Question | Réponse |
|---|---|
| Qu’est-ce que le setup mandant? | Règles de sync + votre app Azure pour ce mandant (MND-…) |
| Ce n’est pas? | La connexion Outlook — elle se fait par société dans le hub |
| Où sont les secrets? | Chiffrés dans la base LIRENO |
Trois niveaux
- Exploitation LIRENO — callback OAuth fixe de l’API
- Mandant — Setup → Microsoft 365
- Société — Hub → Connecter
Mémo: Setup = préparation par mandant. Hub = connexion par société.
Étape A — App Azure (Microsoft Entra)
- Nouvelle inscription
- Nom p.ex.
M365-4-LIRENO - Type: Single tenant
- URI de redirection: plateforme Web (pas SPA)
- URL exacte affichée dans LIRENO:
Dev: https://api.dev.lireno.ch/api/v1/integrations/microsoft365/oauth/callback
Prod: https://api.lireno.ch/api/v1/integrations/microsoft365/oauth/callback
Puis: ID d’application, secret client, permissions Graph déléguées openid, profile, email, offline_access, Contacts.ReadWrite, consentement admin, ID d’annuaire.
Étape B — Enregistrer dans LIRENO
Setup → Microsoft 365 → enregistrer ID, secret, URI, tenant.
Secret vide ensuite = conserver le secret stocké.
Étape C — Connecter Outlook par société
Hub d’intégrations → Microsoft 365 → Connecter → synchroniser les contacts.
Checklist
- [ ] Professional ou Enterprise
- [ ] Plateforme Entra Web
- [ ] URI exacte
- [ ] Client ID = même app Entra
- [ ] Secret enregistré
- [ ] Connexion hub OK
Erreurs? → Dépannage Microsoft 365 · Codes AADSTS
