web
You’re offline. This is a read only version of the page.
close
Skip to main content
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?

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 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

  • Verified answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 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
    simonsnell Profile Picture
    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.

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

    Happy help you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 149

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 132

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 123 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans