Forum Discussion
Usage Metric Report(Organization lvl)
- 10 months ago
Hi PowerBiLearner4 ,
Thanks for the update.
With the permissions that you currently have, it’s not possible to get organization-level usage metrics for 17 workspaces over 120 days. Without tenant admin approval for the Power BI Admin APIs, you can only access workspace-level usage reports, and those don’t provide 120 day history. To get the full 120 day, tenant-wide usage data, admin access or a service principal enabled for admin APIs is required. Once the permission is granted, the extraction can be fully automated.Thank you.
I dont know if you guys got the reply not able to see so posting here again
Sorry i was facing some issue so i was not able to login
v-echaithra tayloramy lbendlin
I registered an app on azure with the following permission. What the next step?
tayloramy will this permission work for your script ?
lbendlin are you talking about AduitRead.all
Hi PowerBiLearner4,
To use the admin REST APIs, the "service proncipals can access read only admin APIs" switch in the admin portal needs to be turned on.
Enable service principal authentication for admin APIs - Microsoft Fabric | Microsoft Learn
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
- PowerBiLearner410 months agoFrequent Visitor
Yep Raised a new request to grant my service principal the access lets see
- PowerBiLearner410 months agoFrequent Visitor
Hi tayloramy the Service priciple got added what now how to test or get the data
- tayloramy10 months ago
Super User
Hi PowerBiLearner4,
This is the endpoint you're going to want to use:
Admin - Get Activity Events - REST API (Power BI Power BI REST APIs) | Microsoft LearnIf you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.