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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors