dataverse_list_audit
Query Dataverse audit logs with OData filters to retrieve records of data changes, including create, update, delete, and access events.
Instructions
Query the audit table with optional OData filters.
Returns audit records from the 'audits' entity set. Common columns:
auditid, createdon — record identity and timestamp
operation — 1=Create, 2=Update, 3=Delete, 4=Access, 5=Upsert
action — specific event code (e.g., 1=Create, 2=Update, 3=Delete, 64=User Access via Web, 65=User Access via Web Services)
objecttypecode — logical name of the audited entity (e.g., 'account')
_userid_value — GUID of the user who made the change
_objectid_value — GUID of the audited record
transactionid — groups related changes in one operation
Use dataverse_get_audit_details to fetch full before/after values for a specific audit record.
Note: requires auditing enabled on the org. If auditing is disabled, Dataverse may return an empty result set or an HTTP error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |