cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimJim Regular Visitor
Regular Visitor

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
Super User
Super User

Re: Power BI audit logs - scheduled dashboard refresh

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 Datanaut!"
Power BI Blog
JimJim Regular Visitor
Regular Visitor

Re: Power BI audit logs - scheduled dashboard refresh

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?
JimJim Regular Visitor
Regular Visitor

Re: Power BI audit logs - scheduled dashboard refresh

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?

Highlighted
Super User
Super User

Re: Power BI audit logs - scheduled dashboard refresh

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 Datanaut!"
Power BI Blog

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Top Kudoed Authors
Users Online
Currently online: 506 members 4,195 guests
Please welcome our newest community members: