Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

(0) ShareShare
ReportReport
Posted on by 5

We installed DCRM about five years ago, however it never took off so we're sunsetting the system.  It was not used extensively, however there are some phone/meeting notes and attachments in the system that we must retain for records retention reasons.  I had initially planned on dumping the data out directly from the system tables (create a few useful views/queries), however I now see that there are about 13GB of attachments in the system.  I was wondering if there is some sort of document with directions on how to archive DCRM data, or if someone could let me know how best to export the attachment data from the database (BLOB).  We are AWS customers, not Azure, which may complicate things.  Ideally we'd like to store the data on premise as it will rarely be accessed.

Thanks

  • Michael F. Profile Picture
    Michael F. 5 on at
    RE: We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

    That appears to have been what I needed.  We've used XRMToolbox in the past, so I was able to install this plug in and once there it allows you to export Note or E-mail attachments.  Since our Exchange system is the system of record for e-mails, this plug in allows us to exclude the e-mails from being export, so the size of our archive files are now significantly less than expected!

    Thank you!

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,052 on at
    RE: We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

    Hi

    You could try the following XrmToolBox plugin, it allows you to download all the attachments to a local folder. When you select the folder, you can also point to mapped S3 bucket directly if you would like to keep them in the cloud.

    pastedimage1600709661904v1.png

    An example of  : How to mount Amazon S3 Bucket as a Windows Drive

    tntdrive.com/mount-amazon-s3-bucket.aspx

  • Suggested answer
    Michael F. Profile Picture
    Michael F. 5 on at
    RE: We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

    I hadn't thought of using Kingswaysoft.  We have used that to upload data into DCRM, so it makes sense that we can use it to pull it out too.  We use the SSIS plug in, so I think I will give that a try.  I haven't used it for attachments, just tabular data, so we'll see how that works.

    Thanks!

  • Suggested answer
    Gary Letter Profile Picture
    Gary Letter 1,267 on at
    RE: We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

    Hi Michael,

    KingswaySoft has some great ETL tools for extracting CRM data. You can use them to export all the data and write the attachments to an external system like OneDrive or Sharepoint. Follow the link below to a post that describes a way to pull the attachments for CRM Notes and Email Messages.

    http://www.kingswaysoft.com/blog/2017/03/21/Extracting-CRM-Attachments-with-Ease

    Gary Letter
    NextLevel Business Systems

    If you find the answer useful, please click "Yes" to mark it as verified.

  • Suggested answer
    RE: We're shutting down Dynamics CRM - how do we archive the data? Attachments especially

    Hi Michael,

    Thank you for the post.

    Regarding the data inside Dynamics, I had achieved a couple of months ago during an internal assessment something very similar with what you want using flows.

    As you are an on premises customer, this will not be possible for you, but here are some ideas on how to get the data out of the system.

    You can develop a console app to retrieve the data, the way you need to implement it is the following:

    You will go ahead and use crmserviceclient to connect to the organization and from there you will retrieve your data keeping in mind the attachments are encoded, therefore you need to decode them first.

    Once you have your data out stored somewhere else you can go ahead and turn off the system.

    Just for reference, I had performed an Web API query in order to get the content of a Note having an attachment and this is how it looks like:

    pastedimage1600675280712v1.png

    The description of that Web API query is below:

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/annotation?view=dynamics-ce-odata-9

    If you do not have a version 9 system, please change the v9.0 with the first two sets of digits you have within your About section of the system, corresponding with the version.

    There are some other options to achieve this functionality, including some Microsoft Labs and third party solutions which will store your data somewhere else like Azure Blob or even SharePoint, but it really depends on your infrastructure.

    Good luck!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,492 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans