Just sharing a sample code to retrieve the Audit Detail using RetrieveRecordChangeHistoryRequest.
RetrieveRecordChangeHistoryRequest changeRequest = new RetrieveRecordChangeHistoryRequest(); changeRequest.Target = new EntityReference("entitySchemaName", "entityId")); RetrieveRecordChangeHistoryResponse changeResponse = (RetrieveRecordChangeHistoryResponse)_service.Execute(changeRequest); AuditDetailCollection auditDetailCollection = changeResponse.AuditDetailCollection; foreach...
Continue Reading Nishant Rana’s Article on their blog
Using RetrieveRecordChangeHistoryRequest to get Audit Detail in Dynamics 365 CE – Nishant Rana’s Weblog
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
Dyn365CE2023.02.03How to – Identify Dynamics 365 Marketing Application App and its corresponding environment
Dyn365CE2023.02.02Moving Marketing Email, Journey, Events, etc. between environments – Dynamics 365 Marketing
Dyn365CE2023.02.01How to – Generate Long-Lived Page Access Token – Facebook
Dyn365CE2023.01.31How to – Hide Approve / Reject Button in Approval Email in Power Automate Approval Workflow