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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rnian18
Helper II
Helper II

PowerBI refresh using PowerShell bug

Hello, I recently wrote a script in PowerShell to automatically update my datasets on PowerBI service.  After about 7-8 executions, the following error appears:

 

Invoke-PowerBIRestMethod : One or more errors occurred.
At C:\scripts\update_script.ps1:13 char:1
+ Invoke-PowerBIRestMethod -Url "datasets/5d802d ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod

 

I assume it is because I exceeded my 8 refreshes per day allowed on PowerBI because I only have a free account.  However, I am still able to manually click the refresh button on PowerBI Services.

 

So I am wondering if the error is caused by the 8 refresh limit.  And if it is, why is it still possible to manually refresh the data set?

 

Thanks!!

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

I am not sure why that error is occurring, which could be because you have hit the refresh limit.

The way it works is you can only have 8 scheduled refreshes a day.

But you can manually refresh the datasets as often as you like.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi there

I am not sure why that error is occurring, which could be because you have hit the refresh limit.

The way it works is you can only have 8 scheduled refreshes a day.

But you can manually refresh the datasets as often as you like.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Yea, I assume it is from the 8 scheduled refreshes as well.

 

So for manual refresh, you can refresh the data set an infinite amount of times per day?  That's interesting, I think some online materials for PowerBI might be out of date! Thanks!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors