mscrm-addons.com logomscrm-addons.com logo
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
home/Knowledge Base/AttachmentExtractor (AE)/Delete files on SharePoint or Azure Blob when the owning attachment in CRM is deleted

Delete files on SharePoint or Azure Blob when the owning attachment in CRM is deleted

1073 views 1 Updated on September 16, 2025

With the European Union’s GDPR regulations in mind, AttachmentExtractor has a new functionality to enhance data privacy and compliance. You can enable AttachmentExtractor to track and delete extracted items associated with Dynamics 365 (D365) records. This update allows for the automatic removal of files in SharePoint and Azure Blob that were previously moved by AttachmentExtractor, should the D365 note or email containing the link to that file be deleted. 

Prerequisite: AttachmentExtractor Online Service or on-Premise version 2017.5 and later. 

Please Note: Deletion tracking is disabled by default. Follow these steps to enable it. 

IMPORTANT: Please DO NOT copy a Dynamics 365/Dataverse instance with those settings enabled (e.g. UAT to PROD). This could lead to a complete loss of extracted data. 

Enabling Item Deletion 

To enable item deletion the following settingskeys must be created within your environment (see How to create a Settingskey for more information):  

  1. Enable the plugin/workflow:
    1. Keyname: “EnableCascadeDelete“  
    2. Value: true
  2. Prevent D365 item deletion if the plugin fails todelete the referenced element on SharePoint or Azure Blob.
    1. Keyname:  “ThrowOnCascadeDeleteFailure“
    2. Set “Value: true” if you want to prevent D365 item deletion if the plugin fails to delete the linked file(s) in SharePoint. This setting ensures all linked files are removed from SharePoint before the D365 item is deleted.
    3. Set “Value: false” to allow the D365 item to be deleted, even if the plugin fails to remove linked files in SharePoint or Azure Blob. 

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com. 

Was this helpful?

1 Yes  No
Related Articles
  • Why does Dynamics 365 storage usage grow so fast after go-live? 
  • What are safe ways to reduce Dynamics 365 storage without deleting records? 
  • What makes a Dynamics 365 add-on easy for partners to recommend in every deal 
  • What actually counts toward Dataverse storage costs (and what doesn’t)?
  • The Hidden Cost of CRM Storage — And How to Eliminate It 
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
Latest Articles
  • Can DocumentsCorePack automate documents directly inside Dynamics 365 at scale?
  • Recap: Directions North America 2026
  • Why does Dynamics 365 storage usage grow so fast after go-live? 
  • Recap: ColorCloud 2026
  • Scaling Dynamics 365: What Partners Are Actually Seeing as Environments Grow 
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How licenses are counted
  • How to find your environment’s unique name in Microsoft Dynamics 365
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How licenses are counted
Categories
  • *News and General Infos* 75
  • Webinars 48
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 270
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 80
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • Cookies
  • © 2025 www.mscrm-addons.com. All Rights Reserved.