Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

New-PowerBIReport timing out after 1m59 - Timeout parameter not working

I am trying to run the following Powershell Command:

 

New-PowerBIReport -Path 'report.pbix' -ConflictAction CreateOrOverwrite -WorkspaceId $workspaceID -Timeout 10000

 

However, regardless of the value I put in Timeout, it fails with 

New-PowerBIReport : A task was canceled.

After 1m59s 

  • Anonymous's avatar
    Anonymous
    3 years ago

    After using a temporary storage location I was able to resolve my issue

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    As far as I know, this issue should be caused by tenant/capacity running too hot.  You got kicked out because other processes needed the memory/renderers. I suggest you to try again when the capacity workload is not heavry. Or you can try Premium capacity to get more resource in your capacity.

    For reference: Power BI Premium features. - Power BI | Microsoft Learn

     

    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.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      We already use premium capacity - I have been able to upload the report manually but not through Powershell

      I have also tried to run the powershell command when nothing else was running. iT fails after exactly 1 minute 59 seconds every single time

  • Anonymous's avatar
    Anonymous
    Not applicable

    After using a temporary storage location I was able to resolve my issue