Your organization may use Sofie-managed OAuth configuration or your own Microsoft Entra app. Follow the option shown in Organization Settings.
What Sofie can use
Depending on permissions and user consent, Sofie may use Microsoft 365 to:- Search and read email.
- Draft and send email after review.
- Read calendar events.
- Create or update calendar events after review.
- Search OneDrive and SharePoint files.
- Import useful files into a Workspace.
- Use file context in chat when available.
Before you start
You need:- Microsoft Entra administrator access.
- Permission to register or manage an app registration.
- The Sofie domain your users sign in to.
- Access to Sofie Organization Settings > Integrations.
- Agreement on which Microsoft capabilities users need.
Redirect URI
Add this redirect URI to the Microsoft app registration, replacing the domain with your Sofie domain:Register the Microsoft app
Create a new registration
Click New registration. Use a clear name such as
Sofie Microsoft 365 Integration.Choose supported account types
Choose the account type your organization allows. Most customer deployments use accounts in the organization tenant only.
Add a web redirect URI
Choose Web and add
https://<your-sofie-domain>/api/integrations/callback/microsoft.Create credentials
Create a client secret
Create a new client secret with an expiration that matches your organization policy.
Copy the value once
Copy the secret value immediately. Microsoft does not show the full value later.
Configure Microsoft Graph permissions
Sofie’s Microsoft integration may request delegated Microsoft Graph permissions for the capabilities your organization enables. Common permission areas include:| Capability | Microsoft Graph permission examples |
|---|---|
| Email read and search | Mail.Read |
| Email send | Mail.Send |
| Calendar read | Calendars.Read |
| Calendar write | Calendars.ReadWrite |
| OneDrive files | Files.Read, Files.ReadWrite |
| SharePoint sites | Sites.Read.All |
| User profile | User.Read |
| Long-lived connection | offline_access |
Add values in Sofie
In Sofie, go to Organization Settings > Integrations and open Microsoft. Enter:| Sofie field | Microsoft value |
|---|---|
| Client ID | Application client ID from the app registration. |
| Client Secret | Client secret value. |
| Tenant ID | Directory tenant ID when your deployment requires tenant-specific configuration. |
Test the connection
Test read actions
Ask Sofie to search email, calendar, OneDrive, or SharePoint content that the test user can access.
Test write actions carefully
If enabled, test email send or calendar creation with safe recipients and test events.
User prompt examples
Troubleshooting
Users cannot connect Microsoft
Users cannot connect Microsoft
Confirm Microsoft is enabled in Sofie, the redirect URI matches exactly, the app registration has a valid client secret, and user consent is allowed by your Microsoft tenant policy.
Sofie can read email but cannot send
Sofie can read email but cannot send
Check whether the Microsoft app has send permissions, whether admin consent is required, and whether the user has permission to send from the mailbox.
SharePoint files do not appear
SharePoint files do not appear
The connection stopped working
The connection stopped working
Check whether the client secret expired, the app registration changed, or your organization changed conditional access or consent policies.