I want to delete Audit history records of entities using C# based on some filter criteria like delete only those records whose older and newer attribute values are same.
Tried using Delete() of IOrganizationService but is gives exception as "Cannot delete records of entity type Audit".
DeleteAuditDataRequest - This class deletes record based on Date range.
Is there any way where I can filter the records and then delete from Audit history entity.
We have Audit Summary View under Auditing but this allows only 250 records to be deleted from UI. Is there a way where I can access the Audit Summary View contents in a C# custom code with provision of deleting specific records.
Any suggestions/ inputs please!