Hunt for Admin email access
Description
This query helps report on email access by administrators
Query · kql
CloudAppEvents | where ActionType == "AdminMailAccess" | extend data = RawEventData["ExtendedProperties"] | extend OpenedMailbox = data[1].["Value"] | extend OpenedEmail = url_decode(tostring(data[2].["Value"])) | project AccountDisplayName, ActionType, OpenedMailbox, OpenedEmail | join EmailEvents on $left.OpenedEmail == $right.InternetMessageId | project Timestamp , Actor = AccountDisplayName, ActionType, OpenedMailbox, SenderFromAddress, RecipientEmailAddress, Subject | order by Timestamp desc