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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Responsive Resident
Responsive Resident

Please see this similar forum post

View solution in original post

5 REPLIES 5
Deku
Responsive Resident
Responsive Resident

Please see this similar forum post

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.

Deku
Responsive Resident
Responsive Resident

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

Deku
Responsive Resident
Responsive Resident

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?

kim0
Frequent Visitor

Thank you for help!

I will try this as well!

Helpful resources

Announcements