Microsoft 365 setup
ServiceOps connects to Microsoft 365 through your own Microsoft Entra app registration — never a ServiceOps-wide application. You create it once, in your tenant, with access to the one mailbox ServiceOps should monitor.
1. Create an app registration
Section titled “1. Create an app registration”- Open the Microsoft Entra admin center.
- Go to App registrations → New registration and name it — e.g. ServiceOps Email Channel.
- Under Redirect URI, choose Web and paste the callback URL shown in the ServiceOps
wizard:
https://YOUR_SERVICEOPS_DOMAIN/api/email-channels/oauth/microsoft-graph/callback
- Register.
2. Grant API permissions
Section titled “2. Grant API permissions”- In the registration: API permissions → Add a permission → Microsoft Graph → Delegated permissions.
- Add
Mail.Readandoffline_access(the second lets ServiceOps refresh its access without asking you to sign in again every hour). - Choose Grant admin consent for your tenant.
3. Create a client secret
Section titled “3. Create a client secret”Certificates & secrets → New client secret. Copy the secret’s Value immediately — Microsoft shows it once.
4. Connect in ServiceOps
Section titled “4. Connect in ServiceOps”- In Settings → Email channels, choose Microsoft 365.
- Enter the Tenant ID and Application (client) ID (from the registration’s Overview page), the client secret, and the mailbox address.
- Create the channel, then choose Connect my Microsoft account — sign in, consent, and you are returned automatically.
Result: the channel shows Connected, and ServiceOps subscribes to the mailbox’s new messages through Microsoft’s push notifications.
How it stays connected
Section titled “How it stays connected”- Graph subscriptions expire within ~7 days; ServiceOps renews daily, well inside the window.
- Microsoft rotates refresh tokens on use; ServiceOps persists each new one immediately, so the connection does not silently break.
- If Microsoft signals that reauthorization is needed, ServiceOps recreates the subscription and reconciles anything missed in between.
- If consent is revoked or the secret expires, the channel shows Authentication error — reconnect with the same button after fixing the cause.