Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
waquarkhalid
Regular Visitor

Admin - Groups GetGroupUsersAsAdmin - Too Many Requests

Hey, I am trying to get the data from this powerBI API call "https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-users-as-admin".

The documentation says there is a limit of maximum 200 requests per hour for this API. But my powerBI ecosystem has more than 500 workspaces and I want to extract the data for all of them. So, to overcome this I introduced an 1 hour delay on my API call and get it in batches. 

What I did not anticipate was, after 1 hour of delay when the program again tries get the next batch of workspaces. The program errors out saying the "access token" has expired.

I believe there should be a work around this and there any other developers in the community that have faced this issue.
I would really appreciate any help or guidance here.

 

Thanks!!

1 REPLY 1
lbendlin
Super User
Super User

Either acquire a refresh token, or brute force it and request a new bearer token each time you start a batch.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.