The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi support team
is it possible to get dashboard usage statistics via powerbi rest api or graph api.
I found powerbi provided rest api. but i can not found any operations about dashboard usage statistics.
https://learn.microsoft.com/en-us/rest/api/power-bi/
does anyone know how to get usage statistics or access logs via api.
Thanks
Hi @GUANGYUQU ,
You can use the command in powershell to get the dashboard in the powerbi service. make sure you log in using Connect-PowerBIServiceAccount.
For example:
Get-PowerBIDashboard -Scope Organization -Name 'Contoso Sales'
For more details, you can read below document:
Get-PowerBIDashboard (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your reply.
Permission denied when using Connect-PowerBIServiceAccount.
I will contact IT manager to check it and also let me ask one more question.
The things we want to do is collect usage statistics.
is it possible to get usage statistics by using Get-PowerBIDashboard?
I checked below document and did not found any details about usage statistics.
Get-PowerBIDashboard (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn
Best Regards
Gatlin