Microsoft data-insights activity
| Operation | Description | Sample | Rule |
|---|---|---|---|
| any | Catch-all for M365-DataInsightsRestApiAudit rules matching the RecordType but no specific Operation. | N | N |
| Save | Save activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture). | Y | N |
| Search | Search activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture). | Y | N |
| Validate | Validate activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture). | Y | N |
any: Microsoft data-insights activity (catch-all)
#Description
Catch-all for M365-DataInsightsRestApiAudit rules matching the RecordType but no specific Operation.
Save
#Description
Save activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture).
Example Audit Record #
{
"AadAppId": "f9ee0641-efe0-4c37-a6b5-07c021b33ba4",
"CreationDate": "2026-07-03T04:34:34",
"CreationTime": "2026-07-03T04:34:34",
"DataType": "PurviewEnablementSettings",
"DatabaseType": "Directory",
"Id": "49113766-eda2-4ece-12bb-08ded8bc625e",
"Operation": "Save",
"Operations": "Save",
"OrganizationId": "11111111-1111-1111-1111-111111111111",
"RecordType": "DataInsightsRestApiAudit",
"RelativeUrl": "/DataInsights/DataInsightsService.svc/Save/PurviewEnablementSettings?tenantid=11111111-1111-1111-1111-111111111111",
"UserId": "adminuser@example.onmicrosoft.com",
"UserKey": 1111111111111111,
"UserType": "Application",
"Version": 1,
"Workload": "SecurityComplianceCenter"
}
Search
#Description
Search activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture).
Example Audit Record #
{
"AadAppId": "da78e55d-d910-4104-8544-1dec90736d9f",
"CreationDate": "2026-07-03T05:31:08",
"CreationTime": "2026-07-03T05:31:08",
"DataType": "RetentionLabel",
"DatabaseType": "Directory",
"Id": "f0721041-097b-4bbb-8103-08ded8c44941",
"Operation": "Search",
"Operations": "Search",
"OrganizationId": "11111111-1111-1111-1111-111111111111",
"RecordType": "DataInsightsRestApiAudit",
"RelativeUrl": "/DataInsights/DataInsightsService.svc/Find/RetentionLabel?Tenantid=11111111-1111-1111-1111-111111111111&PageSize=100",
"UserId": "adminuser@example.onmicrosoft.com",
"UserKey": 1111111111111111,
"UserType": "Application",
"Version": 1,
"Workload": "SecurityComplianceCenter"
}
Validate
#Description
Validate activity in Microsoft data-insights, recorded in the Unified Audit Log (observed in first-party capture).
Example Audit Record #
{
"AadAppId": "80ccca67-54bd-44ab-8625-4b79c4dc7775",
"CreationDate": "2026-07-03T04:30:41",
"CreationTime": "2026-07-03T04:30:41",
"DataType": "rbacAccessCheck",
"Id": "120a1b32-6172-4da5-7dac-08ded8bbd75b",
"Operation": "Validate",
"Operations": "Validate",
"OrganizationId": "11111111-1111-1111-1111-111111111111",
"RecordType": "DataInsightsRestApiAudit",
"RelativeUrl": "/DataInsights/DataInsightsService.svc/validate/rbacAccessCheck?tenantid=11111111-1111-1111-1111-111111111111",
"UserId": "adminuser@example.onmicrosoft.com",
"UserKey": 1111111111111111,
"UserType": "Application",
"Version": 1,
"Workload": "SecurityComplianceCenter"
}
References #
M365 audit records use different field names on each surface #
The same Unified Audit Log record uses different field names on each surface. A query built for one surface can silently miss on another. These pages document the Management Activity API JSON names, the same names Search-UnifiedAuditLog and the Office 365 Management Activity API return.
- Purview CSV export flattens each record to four columns (
CreationDate,UserIds,Operations,AuditData). The API field names live only inside theAuditDataJSON blob. Expand it withConvertFrom-Json. The wrapper columns are renamed too:CreationDatenotCreationTime,UserIdsnotUserId,OperationsnotOperation. - Sentinel's
OfficeActivitytable renames several fields and turns two integer enum columns into strings. The table below maps them.
| API JSON (event pages) | OfficeActivity column | Note |
|---|---|---|
Id | OfficeId | Renamed. |
Workload | OfficeWorkload | Renamed. |
ObjectId | OfficeObjectId | Renamed. |
CreationTime | TimeGenerated | Renamed. OfficeActivity has no CreationTime column. |
SiteUrl | Site_Url | Renamed (SharePoint family). |
RecordType | RecordType | Same name; the Int32 enum becomes its string enum name. |
UserType | UserType | Same name; the Int32 enum becomes a string. |
ClientIP | ClientIP, Client_IPAddress | Both columns present on OfficeActivity. |
Scope | (none) | No OfficeActivity equivalent under any name. Recover it from the API JSON or the Purview AuditData blob. |
Operation, UserId, ResultStatus, UserKey, AppAccessContext, OrganizationId | same names | Unchanged. No _s / _d suffixes (a native table, not a custom log). |
Mapping verified against the OfficeActivity table reference, the Management Activity API schema, and the Purview audit-record export format.