Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to delete audit history of a particular record

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I have enabled auditing on some of the fields of Lead entity in CRM. There is a requirement in which I need to clear out audit history of selected lead.

According to Microsoft audit partition, partition cannot be deleted before end date. Also, if partition is deleted, it will clear out all the other records history. 

Is there any workaround to delete audit history specific to selected lead record even before partition'e end date?

*This post is locked for comments

  • Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to delete audit history of a particular record

    My friend then you already know what is supported options :)

    Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to delete audit history of a particular record

    I do not want to delete it from db directly. There is a service which gets called from other system. This service is responsible to clear audit log records.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to delete audit history of a particular record

    No, supported way but you can try to delete them from DB directly (but keep in mind this  is unsupported way and can currpt DB if not done carefully).

    You can check this thread it should help you.

    community.dynamics.com/.../160313

    Thanks

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,489 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