Learn more about collecting logs and data from Microsoft 365.
The Microsoft 365 email collector fetches email metadata through Microsoft Graph API, using an authorized app. A compliance mailbox is not required.
Notice
Email content visibility and licensing: Email subjects and bodies are stored in an encrypted format to ensure data privacy. To view this content or generate alerts for it, an Email Security module license is required.
Without the license: Sensitive email content (subject, body, and attachments) remains encrypted and is not accessible for viewing or threat hunting.
With the license: When the module detects a suspicious or malicious email, it automatically creates an issue and decrypts the subject, body, and attachments. This decrypted content is then made available as an artifact within the issue for investigation.
Note
For other logs from Microsoft Office 365, use the Office 365 data collector. For more information, see Ingest logs from Microsoft Office 365.
Prerequisite
A user account with the Microsoft Azure Account Administrator role is required to set up a new Microsoft 365 email collector.
The following Microsoft Graph API permissions are required:
Mailbox access (read-write)
Read and write mail in all mailboxes
Read contacts in all mailboxes
Read all user mailbox settings
User information, groups, and directory data (read-only)
Read directory data
Read all groups
Read all users' full profiles