Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
We are currently loading the power bi audit logs into SQL Server everyday so that we can moniter usage and other statistics. The scheduled refresh of the dashboards is skewing our figures, is there anyway to identify the scheduled refreshes in the audit log so that I can exclde them?
Hi there
What I would suggest is to use this API to download the Dataset refreshes API
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getrefreshhistory
This will then allow you to know when the datasets were refreshed, which you can then remove from the Audit logs
Apologies, I should have mentioned in my first post. We are using the Search-UnifiedAuditLog cmdlet to get the audit data. Does a cmdlet exist that will allow me to get the refresh history?
Hi @JimJim
Yes there is an API which I mentioned previously which allows you to get the data via the API or PowerShell cmd let...
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getrefreshhistory
If you view the above link, it will also like through to the API
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.