Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
JimJim
Responsive Resident
Responsive Resident

Power BI audit logs - scheduled dashboard refresh

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? 

4 REPLIES 4
GilbertQ
Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

JimJim
Responsive Resident
Responsive Resident

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

JimJim
Responsive Resident
Responsive Resident

Hello, Thanks for your reply, so I would have to extract this in addition to the audit logs and cross reference both data sets to remove the scheduled refresh? I assume there is a common field on both sets that will allow me to do this?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.