Warning: Undefined array key "Play" in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1812

Warning: Trying to access array offset on value of type null in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1812

Warning: Undefined array key "Play" in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1826

Warning: Trying to access array offset on value of type null in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1826
Using RetrieveRecordChangeHistoryRequest to get Audit Detail in Dynamics 365 CE – Nishant Rana's Weblog - 365 Community

Using RetrieveRecordChangeHistoryRequest to get Audit Detail in Dynamics 365 CE – Nishant Rana’s Weblog

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

Author: Nishant Rana

Share This Post On