Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am trying to use the Power BI powershell Module to upload a power BI report to the service.
I am running the following command
New-PowerBIReport -Path "/Users/username/git/Data_PowerBI/PBI_DATA_MODEL.pbix" -Name PBI_DATA_MODEL_Upload -Workspace $Workspace -Timeout 999
New-PowerBIReport: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
Why is the powershell module ignoring my timeout argument ?
Solved! Go to Solution.
Hi @Grzy7316
Try to add "$" before Timeout functio in your code
...-$Timeout = 999
Here are some blogs, I hope they could help you.
For reference:
Microsoft Power BI Cmdlets for Windows PowerShell and PowerShell Core
Creating A Timeout Feature In Your PowerShell Scripts
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear Community,
I got an similar error when I call the New-PowerBIReport Command.
The Command abort after 100 seconds with the code:
The timeout parameter does not work even if you just set it to 5 seconds and force a timeout.
@Anonymous Your solution with the $ even dont work in my case.
Thanful for a hint 🙂
I never was able to get this issue resolved. We ended up scrapping our import model & rebuilding as a direct Query model , but at least it let us cut down how much we were spending on capacity
Hi @Anonymous , Unfortunately, I have never found a solution either;
Hi @Grzy7316
Try to add "$" before Timeout functio in your code
...-$Timeout = 999
Here are some blogs, I hope they could help you.
For reference:
Microsoft Power BI Cmdlets for Windows PowerShell and PowerShell Core
Creating A Timeout Feature In Your PowerShell Scripts
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |