Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi folks
Did any of you successfully automated extraction of PowerBI audit logs for custom reporting using Azure Active Directory by registering an APP for making API calls.
Any info is greatly appreciated.
Hi @Anonymous have you figured out how you answer these questions? if so, please let me know
Hey @Anonymous ,
I'm not sure if that is what you're looking for, but the Audit logs can be exported with a PowerShell script:
Track user activities in Power BI - Power BI | Microsoft Docs
This you could possibly embed in Python, but I think the probably better approach would be to add that PowerShell script to the serverless environment of Azure Functions:
Create a PowerShell function using Visual Studio Code - Azure Functions | Microsoft Docs
HI @selimovd
I have been told by MS tech support that not all PowerBI Audit data points are available in PowerShell approach. I am not sure how accurate is this statement?
My initial goal is to extract below data for custom reporting with more than 6 months data.
Who is accessing
◦What are the most used reports
◦Who has access
◦Extract times
◦Longest refresh runs
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 38 | |
| 30 | |
| 26 | |
| 21 | |
| 19 |