Forum Discussion
Anonymous
2 years agoNot applicable
Automation
Is it possible to autodetect the unused reports in the PowerBI apps in PBI web service and notify the user? Anything that can be of use to autodetect the unused reports in apps would be of help since...
ibarrau
2 years agoSuper User
Hi. Well. There are things you can do as approach, but I'm not sure it would be exactly that. You can use the Power Bi Rest API. The following request is for that, however I'm not sure if checks at the power bi app or outside of it:
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-unused-artifacts-as-admin
As an alternative you can check the activity event logs. I'm sure in there you can see the operations like viewing a report inside and outside the app:
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events
I hope that helps,
P/D there libraries to help with API like SimplePBI for python or cmdlets for powershell