Discussion about this post

User's avatar
Andrew VanVleet's avatar

Thanks for this excellent article series, it was very helpful in getting a grasp on this new API. I also could not find audit logs recording the use of the API, interested in whether you were able to turn up any. Hopefully by the time it leaves beta that will be addressed. In terms of detecting this activity in the interim, the MicrosoftGraphActivityLogs (enable via an Entra ID diagnostic setting) could be used to find requests to the exportItems or $Batch endpoints with the MailboxItem.ImportExport or MailboxItem.ImportExport.All role or scope. You could probably also factor in the ResponseSize to identify when a non-trivial number of messages was exported.

Expand full comment

No posts