<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get-PowerBIReport  - intermittent task canceled errors in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1206965#M24633</link>
    <description>&lt;P&gt;tenant/capacity running too hot.&amp;nbsp; You got kicked out because other processes needed the memory/renderers.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 16:02:31 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-07-07T16:02:31Z</dc:date>
    <item>
      <title>Get-PowerBIReport  - intermittent task canceled errors</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1206878#M24630</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have as sript which gets reports in workspaces and sometimes runs o.k. but sometimes get task canceled errors - what causes task canceled error and how can we resolve?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-PowerBIReport : A task was canceled.&lt;BR /&gt;At C:\pbi_pshell\powerbi_tenant.ps1:84 char:26&lt;BR /&gt;+ ... $report in (Get-PowerBIReport -Scope Organization -WorkspaceId $works ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : WriteError: (Microsoft.Power...etPowerBIReport:GetPowerBIReport) [Get-PowerBIReport], TaskCanceledException&lt;BR /&gt;+ FullyQualifiedErrorId : A task was canceled.,Microsoft.PowerBI.Commands.Reports.GetPowerBIReport&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;part of example code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$logpath = $logbase + "reports.csv"&lt;BR /&gt;$Reports =&lt;BR /&gt;ForEach ($workspace in $Workspaces)&lt;BR /&gt;{&lt;BR /&gt;Write-Output "Writing reports...on workspace: " $workspace.Name &amp;gt;&amp;gt; C:\pbi_pshell\powerbi_tenant_log.txt&lt;BR /&gt;ForEach ($report in (Get-PowerBIReport -Scope Organization -WorkspaceId $workspace.Id))&lt;BR /&gt;{&lt;BR /&gt;[pscustomobject]@{&lt;BR /&gt;WorkspaceID = $workspace.Id&lt;BR /&gt;WorkspaceName = $workspace.Name&lt;BR /&gt;ReportID = $report.Id&lt;BR /&gt;ReportName = $report.Name&lt;BR /&gt;ReportURL = $report.WebUrl&lt;BR /&gt;ReportDatasetID = $report.DatasetId&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;$Reports | Export-Csv -Path $logpath -NoTypeInformation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1206878#M24630</guid>
      <dc:creator>po</dc:creator>
      <dc:date>2020-07-07T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get-PowerBIReport  - intermittent task canceled errors</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1206965#M24633</link>
      <description>&lt;P&gt;tenant/capacity running too hot.&amp;nbsp; You got kicked out because other processes needed the memory/renderers.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:02:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1206965#M24633</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-07T16:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get-PowerBIReport  - intermittent task canceled errors</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1208463#M24643</link>
      <description>&lt;P&gt;Thanks for update&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 08:11:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-PowerBIReport-intermittent-task-canceled-errors/m-p/1208463#M24643</guid>
      <dc:creator>po</dc:creator>
      <dc:date>2020-07-08T08:11:49Z</dc:date>
    </item>
  </channel>
</rss>

