Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

fetchXML request to retrieve the information about a deleted record?

(0) ShareShare
ReportReport
Posted on by 30
I want to make a fetchXML request which can retrieve the details of the deleted records. Actually, I want to track the records that got deleted from the MS Dynamics instance. 
  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    fetchXML request to retrieve the information about a deleted record?
    Hey.
     
    What is "deleted" in this context?  If the record is deleted from the tables/Environment, then probably you don't have means to query it anymore.  ON this scenario, as previous answer is indicatd, you should enable full auditing, which will allow you to query for records that have been deleted, and partially, the content.
     
    Regards,
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    fetchXML request to retrieve the information about a deleted record
    Hi,
     
    Our team analyzed you your requirements and according to the official documentation, you can try to use the entity's change tracking functionality and then query it using WebApi or .NET SDK.
     
    Here are some simple steps to help you understand this solution.
    Step1, Enable change tracking for a table

    Step2, use webapi to query deltaLink, and then view the change tracking records.

     

     
    If you need more information about change tracking, please refer to the official documentation in the link below.
    Use change tracking to synchronize data with external systems (Microsoft Dataverse) - Power Apps | Microsoft Learn
     
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans