Forum Discussion
saunders
Helper II
5 years agoGetDatasetUsersAsAdmin - Too Many Requests
Hi all, I'm trying to get all user access rights for datasets in our tenant via Power Query and PBI REST API but I get the following error below: Error: Data Source Error : DataSource.Error: Web.Co...
- 5 years ago
Hi saunders ,
the API doc states a max. of 200 requests per hour. So you'd have to split it up into 10 chunks to retrieve those values: Admin - Datasets GetDatasetUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
You might consider using Power Automate for it instead, so you can export the results of the chunks into a central location. Setting up a custom connector in there is also much easier than in Power Query.
saunders
Helper II
5 years agoThanks for the suggestion, I didn't know about that custom connector. It doesn't have the endpoint I need yet but I think it will be useful. Thanks again!
lbendlin
Super User
5 years agoYou can clone the repository and add your own code. Maybe even submit a PR for them to consider.