Query Details
OfficeActivity
| where Operation has "AdminAuditLogConfig"
| mv-apply Parameter = todynamic(Parameters) on (
summarize ParsedParameters = make_bag(bag_pack(tostring(Parameter["Name"]), tostring(Parameter["Value"])))
)
| where bag_has_key(ParsedParameters, "AdminAuditLogEnabled") and not(ParsedParameters["AdminAuditLogEnabled"] == "True")
| project
TimeGenerated,
OfficeWorkload,
RecordType,
UserType,
UserId,
Operation,
ResultStatus,
OfficeObjectId,
Parameters
This query is looking at activity in an office environment. It specifically searches for operations that involve "AdminAuditLogConfig". It then converts the parameters of these operations into a dynamic format and summarizes them.
The query then filters out any operations where the "AdminAuditLogEnabled" parameter is not set to "True".
Finally, it displays the time the operation was generated, the type of office workload, the type of record, the type of user, the user ID, the operation, the result status, the office object ID, and the parameters.

Jose Sebastián Canós
Released: March 1, 2023
Tables
Keywords
Operators