I'm a C# developer and have been tasked with purging records from the Attachment entity for a GDPR requirement.
However when I invoke the 'Delete' method on the Xrm Sdk toolkit (Microsoft.Xrm.Sdk.IOrganizationService.Delete) the following exception is raised - "The 'Delete' method does not support entities of type 'attachment'." - ErrorCode: 0x80040800.
The Delete method works fine against the ActivityMimeAttachment entity and a number of other entities so question is how are you meant to delete Attachment entity records?
Apologies if I'm posting in the wrong place but I couldn't see a developer forum on the list...