Forum Discussion
Request to Workspace-Level Usage Metrics
- 1 year ago
Hi sakula4 ,
For full workspace insights (user access, report views, downloads):
- Use Microsoft 365 Audit Logs or Power BI Activity Logs via:
- Microsoft Purview or Compliance Center
- Or automate via PowerShell / REST API
For exports (PDF/Image), use GetActivityEvents API or audit logs.
If using Fabric / Premium, enable Log Analytics for deeper tracking.
- 1 year ago
Hi sakula4 ,
In addition to input provided by BhavinVyas3003 , we can also use log analytics for Power BI Service, which keeps track of user interactions, report usage etc, but this comes with a cost of Log Analytics.
Please check this link from guy in a cube.
https://www.youtube.com/watch?v=HGpfwpjlMro&t=359s
The template file can be downloaded from here.
https://github.com/microsoft/PowerBI-LogAnalytics-Template-Reports/blob/main/PBIASEngine/README.md
For MS Fabric, this is a very good pointer to start on workspace level usage metrics.
https://www.youtube.com/watch?v=Q4zEFhkGJn8
If this post helps, please accept this as a solution. Appreciate your kudos.
Thanks,
Pallavi
- 1 year ago
Hi sakula4 The first two is available in the Usage Metrics report. You need to remove the report filter in the report to view the usage for the Workspace.
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-usage-metrics#see-all-workspace-usage-metrics
The download activity is not available out of teh box. You will have to extract the data using the GetActivityEvents Rest API as BhavinVyas3003 mentioned or you can also make use the Scanner API. Here is a link on how to extract the data using a Fabric Notebook
https://www.fourmoo.com/2024/08/21/downloading-scanner-api-data-using-a-microsoft-fabric-notebook/
Hi sakula4,
Just following up to check if the suggestions shared such as using Log Analytics, audit logs, or the activity log APIs helped you access the workspace level usage metrics you were looking for. Let us know if you need any further guidance or run into issues setting it up.
Best regards,
Prasanna Kumar