Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

data export to azure, no sync on delete

(0) ShareShare
ReportReport
Posted on by 365

I have a data export setup to export data from Dynamics 365 to a SQL database in Azure.

I however want to be able to delete records in 365 without the sync deleting the records in SQL. We have huge tables taking up storage in CRM that we just don't need, but I do want to keep them in Azure for reporting purposes. How can I keep the Azure data after we delete it from CRM?

*This post is locked for comments

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: data export to azure, no sync on delete

    Can you manage this via the 'Write Delete Log' option ?

    Otherwise you could handle this at the destination SQL end. As far as I know the Data Export Service just uses standard DELETE statements, so 2 options could be:

    • Write a Delete trigger on the SQL tables to either stop the deletion, or copy the data to another table
    • Remove the DELETE permission from the SQL user that the Data Export Service uses. This'll probably end up generating a lot of error messages, so is not the most elegant option

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans