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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard