All guidesMicrosoft 365
Microsoft 365 setup
Connect Open Core HR to a Microsoft Entra application and grant the permissions each feature needs.
Core includes a Microsoft 365 connection, employee account linking and Graph system email. Three paid add-ons use that connection: Microsoft 365 Account Management, Outlook Email and Outlook Calendar Sync. The Core calendar is included and needs no Microsoft configuration.
Install any paid add-on you need directly from Settings → Modules. In Settings → Microsoft 365 connection, save your tenant ID, application ID and client secret. These values belong in Settings, not .env. The application supports the Microsoft public cloud. Preserve the application's encryption key when backing up or restoring the settings database.
Use a Microsoft Entra application with application permissions and administrator consent. Grant permissions for the operations you enable and restrict mailbox access in Microsoft administration where applicable:
| Feature | Permission guidance |
|---|---|
| Send system email with Graph | Mail.Send for the installation sender mailbox |
| Link an existing account | User.Read.All for Microsoft account lookup |
| Outlook Email | Mail.ReadWrite and Mail.Send |
| Calendar sync | Calendars.ReadWrite |
| Create accounts and assign licences | See Microsoft's create-user and assign-licence requirements; licence capacity lookup also needs permission to list subscribed SKUs |
| Disable or enable access | User.EnableDisableAccount.All and User.Read.All; User.RevokeSessions.All for session revocation |
| Reset or synchronize passwords | See the passwordProfile permission and role requirements in Update user |
A successful connection test confirms authentication only. Check the intended operation with a designated test employee before enabling automatic account management. Microsoft permissions, licence availability, usage country and tenant policies can prevent individual operations.
Run the queue worker and scheduler described in Services. Account Management's automatic provisioning, sign-in sync and password sync start off. Calendar sync starts off and also requires each user to opt in from Calendar.
Core can send system email through the configured Microsoft mailbox. It is used only when Settings → Email is set to Microsoft 365 (Graph); SMTP settings remain independent. Saving Microsoft credentials preserves your current mail transport.
After changing tenants, link users to accounts in the new tenant. Old queued account jobs and calendar connections do not reuse the new tenant. Clearing the client secret stops Microsoft operations until valid credentials are saved again.