Audit Logs / Microsoft Entra ID AuditLogs category
Audit Logs: DeviceTemplate
| OperationName | Description | Sample | Rule |
|---|---|---|---|
| Add device from Device | A device object was created from a device template (createDeviceFromTemplate). | N | N |
| Add Device | A new device template (deviceTemplate) was created in the directory. | N | N |
| Add owner to Device | An owner was added to a device template, granting full control over the template and its device instances. | N | N |
| Delete Device | Deletion of a device template (deviceTemplates Graph API directory object holding device properties such as manufacturer, model, OS). | N | N |
Add device from DeviceTemplate
#Description
A new device object was created from a device template, stamping the template's common property values onto the device (the Microsoft Graph deviceTemplate createDeviceFromTemplate action). Device templates onboard sets of similar devices (for example, IoT or external devices) into the directory, so new device-identity creation here can warrant review.
References #
Add DeviceTemplate
#Description
A new device template was created in the directory. A deviceTemplate defines property values common to a set of device objects and is used to identify and manage a group of devices with similar characteristics (for example, IoT devices).
References #
Add owner to DeviceTemplate
#Description
Records the addition of an owner (a user or service principal) to a device template. Per the Microsoft Graph beta add-owner reference, a device template owner is granted permissions to create, update, enable, disable, and delete the device instances created from that template and to add or remove other owners, without requiring additional administrator roles.
References #
Computed Fields in AuditLogs #
Some rules create fields that are not native AuditLogs columns. Use these source paths when searching the schema.
Initiating*values come fromInitiatedBy:InitiatedBy.user.userPrincipalName,InitiatedBy.user.displayName, orInitiatedBy.user.id; application actors useInitiatedBy.app.displayNameorInitiatedBy.app.appId.- Change details come from
TargetResources[].modifiedProperties. ExpandTargetResourcesbefore usingdisplayName,oldValue, ornewValue.
Sources: the AuditLogs table reference and Graph directoryAudit resource.