Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 953 Bytes

UserEnrichment.md

File metadata and controls

23 lines (19 loc) · 953 Bytes

MicrosoftGraphActivityLogs User Enrichment

Query Information

Description

This query enriches the MicrosoftGraphActivityLogs with userinformation from the IdentityInfo table to get more context in the results.

References

Sentinel

MicrosoftGraphActivityLogs
| where isnotempty(UserId)
| lookup kind=leftouter (IdentityInfo
    | where TimeGenerated > ago(30d)
    | summarize arg_max(TimeGenerated, *) by AccountObjectId
    | project AccountObjectId, AccountDisplayName, AccountUPN)
    on $left.UserId == $right.AccountObjectId
| project-reorder AccountDisplayName, AccountUPN, RequestMethod, RequestUri