Forum Discussion
Combining Usage Metrics Reports from Multiple Workspaces into One
- 1 year ago
Well the api has been there for a long time, it would be normal if the videos or blog are not from today. You can get started with the API reading this blog: https://blog.ladataweb.com.ar/post/740398550344728576/seteo-powerbi-rest-api-por-primera-vez
Consider you need code skills in powershell, or like this example shows, python. You could also use another, but those two have material to make it easier with powerbi cmdlets or python simplepbi library.
I hope that helps,
P/D Nice catch that feature and adoption doesn't show the report of the app that's viewed
- Anonymous1 year ago
Hello LuigiBros ,
The issue with token expiration in Power BI Service during scheduled refreshes occurs because the service does not automatically regenerate API tokens. To resolve this, the best approach is to create a custom Power BI connector using Power Query SDK that implements OAuth2 authentication with automatic token refresh capability. This custom connector will securely handle token generation and renewal without manual intervention.
Alternatively, you can use PowerShell, Azure Functions, or Python scripts to automate token refreshes externally and push the data into Power BI using the Power BI REST API. This method ensures seamless data updates while bypassing token expiration issues. Both solutions require proper security configurations and periodic maintenance to ensure consistent performance.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi. Nowadays there is a "Admin Workspace" that users with Fabric Administrators role can see. That workspace contains a report "Feature usage and adoption". That report contains usage metrics of the whole organization. You can see it all for the last 30 days. https://learn.microsoft.com/en-us/fabric/admin/feature-usage-adoption
That should be the simplest solution.
In Addition, if you are looking for a custom development building a history of usage. You can integrate data in a storage using Power Bi Rest API to get the activity logs: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events
I hope that helps,
"Feature usage and adoption" from "Admin Workspace" has one big disadvantage.
When user opens report via OrganizationalApp then I do not see which report was actually opened.