web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Exporting version cont...
Power Apps
Answered

Exporting version control auditing records for a specific table in Dataverse

(0) ShareShare
ReportReport
Posted on by 240

Hello, 

 

Is it possible to create API call that will return an audit trail (version control) for a specific table in Dataverse for all records in that table from environment's Audit log table. I need to export this data either through an API call or any other means. 

 

I would like to note here that all API calls in MS documentation seem to run against a record (not table)

 

Thank you. 

 

 

I have the same question (0)
  • Linn Zaw Win Profile Picture
    2,996 on at
  • nemanjasovic011 Profile Picture
    240 on at

    Thank you. 

     

    The business is leaning toward the second option (periodic download).

     

    Please confirm for me that there is no easier way to do this then custom plug-in. 

     

    In other words, I have to create a plug in that will use the above two classes in order to retrieve CSV file that is storing changes on a particular Dataverse table.

     

    Thank you. 

     

     

  • Verified answer
    Linn Zaw Win Profile Picture
    2,996 on at

    There is a KingswaySoft SSIS Integration Toolkit for Microsoft Dynamics 365 (which works for any Dataverse environment) which comes with a license cost. I guess that would be easier than writing a custom API. Check out these links.

     

    If the client prefers to spend the one-off development cost instead of an on-going licence for the ISV solution, you can build your own solution.

    On second thought, Custom API was a bad idea since it is a long-running process and the plug-in will definitely timeout. It would be better to create a console application which has a date range (start date and end date input parameters). That console app will retrieve the audit data stored in the Log storage of the Dataverse environment. The console app will

    • retrieve the data RetrieveMultiple where the "modifiedon" of the records that fall between the date range
    • for each record from the above result set, use the above two classes in order to retrieve the audit data related to that record
    • At the end of the extraction, the console app can save the data as .csv or any preferred format.

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard