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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
kim0
Frequent Visitor

Power BI Get-PowerBIDatasource Throttling with status code 429

Hello!

I have created an API script that grabs all datasource details for my company's dataset.

It was running under one script and worked perfectly until 02/27/2025.

All of a sudden, I get an error saying "Failed error: status code (429)."

 

I am using the Get-PowerBIDatasource module (MicrosoftPowerBIMgmt.Data) from Microsoft.

Get-PowerBIDatasource (MicrosoftPowerBIMgmt.Data) | Microsoft Learn

 

This module doesn't state a request limit on calls, so I'm wondering what the problem (or limit) might be.

I was running about 9000 dataset lists for the datasource, and it was running fine before.

1 ACCEPTED SOLUTION
Deku
Super User
Super User

Please see this similar forum post


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

5 REPLIES 5
Deku
Super User
Super User

Please see this similar forum post


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
kim0
Frequent Visitor

Thank you for sharing information for using scanner API!

I was wondering... is there any documentation stating throttling limit for that module?

I was able to run the script just fine until couple days ago.

Not that I've seen on Microsoft docs, but similar Power BI API do have limits


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

You could throw a sleep in the loop to self throttle yourself to see if that helps

 

It does state "Each request takes 0.5 seconds to process, during which time other requests are queued" so maybe there is a max queue length?


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
kim0
Frequent Visitor

Thank you for help!

I will try this as well!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.