Skip to content

Microsoft 365 / Outlook

Microsoft 365 Setup in LIRENO

Entra Redirect URI (Web)

Hub Verbinden

Public: Mandant, fiduciaire, IT
Fonction: typiquement dès le plan Professional (microsoft365)

En 60 secondes

QuestionRé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

  1. Exploitation LIRENO — callback OAuth fixe de l’API
  2. Mandant — Setup → Microsoft 365
  3. Société — Hub → Connecter

Mémo: Setup = préparation par mandant. Hub = connexion par société.

Étape A — App Azure (Microsoft Entra)

  1. Nouvelle inscription
  2. Nom p.ex. M365-4-LIRENO
  3. Type: Single tenant
  4. URI de redirection: plateforme Web (pas SPA)
  5. 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