dataverse_get_audit_details
Retrieve full details from a single audit record, including old and new values for changed attributes or relationship changes. Requires auditing enabled on the organization.
Instructions
Retrieve full details from a single audit record.
Calls the bound RetrieveAuditDetails function on the audit entity, returning a polymorphic AuditDetail. The most common subtype is AttributeAuditDetail which includes OldValue and NewValue (each containing the changed attribute values keyed by logical name) plus InvalidNewValueAttributes.
Common AuditDetail subtypes (identified by @odata.type):
AttributeAuditDetail — field changes with OldValue/NewValue
RelationshipAuditDetail — relationship association/disassociation
ShareAuditDetail — record sharing
RolePrivilegeAuditDetail — role privilege changes
UserAccessAuditDetail — user login/access events
Note: requires auditing enabled on the org. If auditing is disabled, Dataverse returns an HTTP error — check the error message for guidance.
URL form: GET /api/data/v9.2/audits()/Microsoft.Dynamics.CRM.RetrieveAuditDetails
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |