migueesc123 / PowerBIRESTAPI

A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API
MIT License
237 stars 74 forks source link

getreportusers as admin #115

Closed sarava8304 closed 2 years ago

sarava8304 commented 2 years ago

can we have the getreportusers as admin api, to track for whom the dashboards has been shared. (who are all accessed the dashboards)

klinejordan commented 2 years ago

Logging this as an enhancement request, but in large tenants this will take a long time to complete so its likely going to go into the Experimental folder. Looping through thousands of reports individually could throttle the API and will likely perform poorly.

The best place to get this information is the scanner API, which is difficult to incorporate into this connector because it uses a polling mechanism to retrieve results and M is not the best language for doing those kind of operations.

And just to clarify, you're looking for Get Report Users As Admin? If so, that's not going to give you information on who has access to Dashboards, it will give you information on to whom the Report is shared.

klinejordan commented 2 years ago

Added Item user queries to experimental folder