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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI Audit Logs - Azure Automation Solution

Hi,

My organisation desperately needs some oversight of power bi usage metrics - I've managed to get a PowerShell script working with task scheduler to export the daily usage into csv as per the solution on this blog: http://angryanalyticsblog.azurewebsites.net/index.php/2018/02/16/power-bi-audit-log-analytics-soluti...

 

Due to export limits (<5000 rows/<90 days) we will need to build this up over time with the daily export.

 

We also have a SQL Server DW hosted on Azure so I was wondering if anyone had successfully used Azure Automate / runbooks load these csv's into our data warehouse as I feel like this is a more robust solution. Any ideas or suggestions - i've searched the entire PBI community on audit logs and it seems like no one has mentioned this solution?

Cheers

1 ACCEPTED SOLUTION

Yes, pretty much. Or if you don't care about history you can do the API calls directly in the Dataflow PowerQuery (rather than with Powershell)

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Since these are csv files it is more appropriate to push them into Dataflows.  Putting them into a database is just adding more complexity.

Anonymous
Not applicable

So do you mean storing the CSVs on a shared drive somewhere and connecting to this drive via dataflow?

Yes, pretty much. Or if you don't care about history you can do the API calls directly in the Dataflow PowerQuery (rather than with Powershell)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.