Other than Notes entities with a filter of isDocument = True, how to schedule a bulk deletion of all attachment entities?
even after running the jobs, attachments are available in different entities.
Curently executing the below SQL Queries with XRMToolBox SQL4CDS utility.
- Delete from attachment
- Delete from fileattachment
- delete from activitymimeattachment
- delete from activityfileattachment
- Delete from elasticfileattachment
- Delete from msdyn_aibfileattacheddata
- Delete from msdyn_kbattachment