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?
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?
Happy help you.
Thank you so much Amit. That's very helpful, and it works perfectly.
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.
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.
When the flow is created it will be visible in Dynamics 365 ribbon.
Select the record and click on the newly created flow. And then click on the Run Flow.
it will show success message.
When you will check the Audit history it will be deleted for that record.
Thank you,
Amit Katariya
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156