Audit Logs / Microsoft Entra ID AuditLogs category
Audit Logs: OrganizationalUnitContainer
| OperationName | Description | Sample | Rule |
|---|---|---|---|
| Create Organizational | Creation of an organizational unit container object in the directory. | N | N |
| Delete Organizational | Deletes an OrganizationalUnit container object in the directory (Core Directory). | N | N |
| Update Organizational | An organizational unit container object in the Core Directory was updated. | N | N |
Create OrganizationalUnit
#Description
Records the creation of an organizational unit container object in the directory. Organizational units are directory containers used to group objects; creation is an infrequent administrative action in most Microsoft Entra tenants and is worth noting when unexpected.
References #
Delete OrganizationalUnit
#Description
Records deletion of an OrganizationalUnit container object in the directory (Core Directory). Described conservatively from the operation name, category, and service; the precise object and its use were not confirmed against a Learn page.
References #
References #
Rules often query computed field names, not native AuditLogs columns #
Many Entra detection rules pivot on field names that are not columns in this table but KQL projections the rule author computes from two dynamic columns. Searching the field list for those names finds nothing; use the canonical paths instead.
InitiatingUserPrincipalName(and siblingInitiating*names) is not a column. Rules project it fromInitiatedBy, for exampleextend InitiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName). The native paths areInitiatedBy.user.userPrincipalName,InitiatedBy.user.displayName, andInitiatedBy.user.idfor user actors, andInitiatedBy.app.displayName/InitiatedBy.app.appIdfor application or service-principal actors.- What changed lives in
TargetResources, adynamicarray. Expand it before filtering on the change:AuditLogs | mv-expand TargetResources | extend props = TargetResources.modifiedProperties, then readprops[].displayName,props[].oldValue, andprops[].newValue.
Column shapes per the AuditLogs table reference and the Graph directoryAudit resource.