Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We are experiencing rapid growth of our database storage. The capacity report shows that a majority of storage is consumed by table ActivityPointer. Our analysis of the data in that table shows that the data is mainly in the description field of email activities. On average, one email has a size of about 200 KB. Analysis of a few samples indicates that most of the size is caused by mostly unnecessary html code.
Our plan to mitigate the storage growth is to remove the unnecessary html code and just keep the parts that are actually necessary to display the email in the intended layout. A proof of concept with Tidy HTML shows promising results and should reduce storage needs by about 70%.
Is there a third party solution or product available that does this or something similar? Bonus points if the solution offers archiving of the original email, adds compression for the content of the description field and/or provides telemetry on number of records processed and data reduced/saved.
If no third party solution is available, we plan to implement this ourselves. Current approaches are using an Azure Function that gets triggered by the Azure Service Bus integration of Dataverse or a Power Automate flow. Alternatively, a custom workflow activity could be implemented that does this, thus removing the need for additional Azure components.
Appreciate any thoughts or preferences for one of these approaches.
Have you checked the activitymimeattachment/attachment table too? Usually the email will have image which are the main reason for increased size and that can be then moved to sharepoint/azure blob.
There is a third party solution for this : www.mscrm-addons.com/.../AttachmentExtractor
Custom approach is fine too however you need to consider that once email is received it then goes to 'Closed' state and will not allow direct edit. You might need to switch the status back and forth to get this to work.
Thanks, the closed state is a good hint.
Yes, the attachement table has a similar size, but since it is counted against file and not database storage, we see no need to reduce its size.
Business Applications communities