Query Details
let AuditLogsDEV = workspace("9b5dc943-9550-4b95-ab2d-0f1c898956da").AuditLogs;
let start = ago(24h);
AuditLogsDEV
| where TimeGenerated > start
| where OperationName == "Add group"
| project flatten = tostring(TargetResources)
| where flatten contains "Unified"
This query retrieves audit logs from a specific workspace called AuditLogsDEV. It filters the logs to only include those generated within the last 24 hours. It further filters the logs to only include entries where the operation name is "Add group". It then projects a flattened version of the TargetResources field and filters for entries that contain the word "Unified" in the flattened field.

Rod Trent
Released: March 26, 2020
Tables
Keywords
Operators