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

Delete Audit History for a particular Contact record

(0) ShareShare
ReportReport
Posted on by 119

Hi

In order to fully anonymise a Contact record who has asked to be erased from the system, we want to remove that contact's audit history using Power Automate.

Is this possible?

  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    RE: Delete Audit History for a particular Contact record

    Happy help you.

  • Suggested answer
    simonsnell Profile Picture
    simonsnell 119 on at
    RE: Delete Audit History for a particular Contact record

    Thank you so much Amit.  That's very helpful, and it works perfectly.

  • Verified answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    RE: Delete Audit History for a particular Contact record

    Hello SSnell 

    Yes you can perform this operation using power automate flow.

    please refer below solution which will help you to implement your requirement.

    1. Use below manual connector which will take the GUID of the selected record. 

    pastedimage1654699830204v1.png

    2. As we can not delete the Audit history record using the general Dataverse connector, we will need to use unbound action connector and where we will provide the Record ID of an record for which we want to delete the Audit history.

    In above example I have used this flow for the Contact record. in below image you can see i have 2 contacts and both have audit history with it.

    pastedimage1654700071344v2.png

    pastedimage1654700109503v3.png

    When the flow is created it will be visible in Dynamics 365 ribbon.

    pastedimage1654700216788v4.png

    Select the record and click on the newly created flow. And then click on the Run Flow.

    pastedimage1654700302031v5.png

    it will show success message. 

    pastedimage1654700324594v6.png

    When you will check the Audit history it will be deleted for that record.

    pastedimage1654700375607v7.png

    pastedimage1654700395306v8.png

    Thank you,

    Amit Katariya

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,959 Moderator on at
    RE: Delete Audit History for a particular Contact record

    Hi,

    Yes, you can do that using power automate.

    You need to use below action

    docs.microsoft.com/.../deleterecordchangehistory

    You can use perform bound/unbound action in power automate

    www.google.com/url

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans