# You've Got (Graph) Mail - Leveraging Microsoft Graph API Change Notifications for Data Exfiltration

DevFeed: [You've Got (Graph) Mail - Leveraging Microsoft Graph API Change Notifications for Data Exfiltration](<https://devfeed.tech/articles/you-ve-got-graph-mail-leveraging-microsoft-graph-api-change-notifications-for-data-exfiltration-119039.md>)

Original publisher: [Read original article](<https://www.netspi.com/blog/technical-blog/cloud-pentesting/leveraging-microsoft-graph-api-change-notifications-for-data-exfiltration/>)

Author: Thomas Elling

Published: 2026-11-04T16:22:43Z

Content type: article

Language: en

Sources: [NetSPI](<https://devfeed.tech/sources/netspi.md>)

Topics: [microsoft 365](<https://devfeed.tech/topics/microsoft-365.md>), [API](<https://devfeed.tech/topics/api.md>), [Microsoft Teams](<https://devfeed.tech/topics/microsoft-teams.md>), [API Logging](<https://devfeed.tech/topics/api-logging.md>), [email](<https://devfeed.tech/topics/email.md>), [notifications](<https://devfeed.tech/topics/notifications.md>), [threat detection](<https://devfeed.tech/topics/threat-detection.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>)

Tags: [admin](<https://devfeed.tech/tags/admin.md>), [administrator](<https://devfeed.tech/tags/administrator.md>), [alerting](<https://devfeed.tech/tags/alerting.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [change](<https://devfeed.tech/tags/change.md>), [cloud-pentesting](<https://devfeed.tech/tags/cloud-pentesting.md>), [data](<https://devfeed.tech/tags/data.md>), [data-exfiltration](<https://devfeed.tech/tags/data-exfiltration.md>), [exfiltration](<https://devfeed.tech/tags/exfiltration.md>), [exploitation](<https://devfeed.tech/tags/exploitation.md>), [graph](<https://devfeed.tech/tags/graph.md>), [messages](<https://devfeed.tech/tags/messages.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-graph](<https://devfeed.tech/tags/microsoft-graph.md>), [notifications](<https://devfeed.tech/tags/notifications.md>), [outlook](<https://devfeed.tech/tags/outlook.md>), [post-exploitation](<https://devfeed.tech/tags/post-exploitation.md>), [rich](<https://devfeed.tech/tags/rich.md>), [teams](<https://devfeed.tech/tags/teams.md>)

## AI overview

Microsoft Graph Rich Change Notifications can let an attacker with a compromised user token or service principal stream selected Outlook or Teams content to an external webhook through Microsoft infrastructure, without opening the messages. Outlook notifications expose selected fields such as `bodyPreview`, limited to 255 characters; Teams notifications can include full message bodies. Draft updates can trigger multiple Outlook previews, and subscriptions expire quickly but can be renewed while the attacker retains access. Administrators can enumerate subscriptions with `Get-MgSubscription` using Global Administrator access and `Subscription.Read.All`; Graph activity logs record subscription operations, while the newer `GraphNotificationsActivityLogs` table records triggered notifications but may lack parent-subscription details and has properties not yet fully documented.

## Source excerpt

Discover how threat actors leverage Microsoft Graph API Change Notifications and Rich Notifications for stealthy post-exploitation data exfiltration of Outlook emails and Teams messages. The post You've Got (Graph) Mail - Leveraging Microsoft Graph API Change Notifications for Data Exfiltration appeared first on NetSPI.