Does anyone have a way to get the audit data on CDS entities into a PowerBI report or even an Excel file? I know there are ideas already posted for something, but was looking for a workaround while we wait for it to be delivered OOTB. Is PowerShell an option?
Have you looked at the Audit History Extractor plugin for XRMToolbox?
More info on the plugin here
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".
Yes PowerShell is an option, you can get all the audit history data via the CDS's Rest API. You can consume that API with PowerShell or any method of your choice. Here's the base:
Hope this helps!
Note that there are 2 levels of audit data.
Thanks correct @DavidJennaway and can still consume with Rest API. Here's an exmaple entity Opportunity: