Microsoft 365 uses a webhook receiver (paid runtime) via Microsoft Graph change notifications.Documentation Index
Fetch the complete documentation index at: https://docs.mycelium-ai.co/llms.txt
Use this file to discover all available pages before exploring further.
Webhook receiver (paid runtime)
validationToken challenge on subscription creation. Ongoing notifications arrive with a client state token that the receiver validates.
Setup
- Register an Azure AD application with Microsoft Graph API permissions:
ChannelMessage.Read.All(Teams messages)Mail.Read(Exchange mail)Sites.Read.All(SharePoint)Files.Read.All(OneDrive)
- Create Graph change notification subscriptions pointing to
https://runtime.myceliumai.co/webhooks/microsoft365/{your_tenant_id}. - Add to the runtime env:
MS365_TENANT_ID_{TENANT_ID}MS365_CLIENT_ID_{TENANT_ID}MS365_CLIENT_SECRET_{TENANT_ID}MS365_CLIENT_STATE_{TENANT_ID}(random secret for notification validation)
Events ingested
| M365 surface | Memory category | Notes |
|---|---|---|
| Teams channel msg | fact | Thread context, mentions, reactions |
| Teams chat | fact | Direct messages and group chats |
| Exchange mail | fact | Sender, subject, body excerpt |
| SharePoint page | fact | Page edits captured on save |
| OneDrive file | fact | File create/modify events; content not stored |