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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
tegar
Frequent Visitor

Publish report using New-PowerBIReport and HTTPClient

Hello, 

 

Currently I using powershell for publishing the visual report and the dataset.

basicly the process is works when use function New-PowerBIReport, but it will fail if publish dataset with big size

it thrown error New-PowerBIReport : A task was canceled. After searching it caused due the limitation of HTTP Client (Default timeout 100 seconds)

I found in some article as reference to increase the timeout duration like this 

https://stackoverflow.com/questions/40431173/powershell-script-webclient-timeout-140-calling-an-ssrs...

https://gist.github.com/markekraus/a0135d0a5f52b609eda513df4db71cab

 

but still no clue how to combine with the New-PowerBIReport function from Power BI

any suggestion and clue will much appreciate

 

Thank you

Best Regards

Tegar

1 REPLY 1
Anonymous
Not applicable

Hi @tegar ,

 

I searched for a similar post that might be helpful to you.

Solved: New-PowerBIReport timing out after 1m59 - Timeout ... - Microsoft Fabric Community

 

In addition to this, you may consider configuring incremental refresh or using Power BI Premium to provide enhanced features including larger dataset sizes and higher resource allocations, which may help alleviate timeout issues.

Incremental refresh for semantic models and real-time data in Power BI - Power BI | Microsoft Learn

What is Power BI Premium? - Power BI | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

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.

Top Solution Authors
Top Kudoed Authors