Forum Discussion
GetDatasetUsersAsAdmin - Too Many Requests
- 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.
If your org supports AAD you might be much better off using the Power BI Rest API custom connector. Works very well for us, at least on the desktop.
Thanks 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!
- lbendlin5 years agoSuper User
You can clone the repository and add your own code. Maybe even submit a PR for them to consider.