Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I'm working on a tool which extracts metadata of power BI workspaces using APIs. For that, I'm using this particular API - https://api.powerbi.com/v1.0/myorg/admin/groups .
We have a huge amount of workspaces to extract (around 250000+) so we are doing it in batches of 5000 and calling the API. Since the API seems to have a rate limit, when the limit is reached , it returns a "Retry-After" response header which has the time to wait before we can make the next call. So we are sleeping the process for that much amount of time so that we can make a successful API call again. But the next time we hit the API again, we are still triggering the rate limit again even after waiting for the specified amount of time and this time the response doesn't seem to contain any "Retry-After" response header and this is causing issues and seems to be inconsistent. Can you please let us know in what circumstances do we not get this particular header?
Can we consistently rely on the "Retry-After" response header or is there a better to way to handle this? Please let us know if this is a bug.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.