Audit Logs / Microsoft Entra ID AuditLogs category
Audit Logs: Contact
| OperationName | Description | Sample | Rule |
|---|---|---|---|
| Add contact | An organizational contact object was added to the directory. | N | N |
| Delete contact | An organizational contact (directory contact object) was deleted. | N | N |
| Update contact | Change to an organizational (directory) contact object. | N | N |
Add contact
#Description
An organizational contact object was added to the directory. Organizational contacts represent people external to the directory (for example, mail contacts) rather than sign-in-capable user accounts.
References #
Delete contact
#Description
An organizational contact was deleted from the directory. Organizational contacts are admin-managed directory objects (such as mail-enabled contacts), distinct from a tenant's user accounts and from users' personal contacts.
References #
Update contact
#Description
Records a change to an organizational contact (a mail-enabled directory contact object) in Microsoft Entra ID. Organizational contacts represent people external to the directory and may be synchronized from on-premises; an update modifies the contact's directory attributes.
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.