<?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 Reload dataflow from powershell script in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/692530#M19408</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've previously used powershell to reload a dataset. This is the script I've slightly modified:&lt;/P&gt;&lt;P&gt;&lt;A href="https://insightsquest.com/2019/03/03/refresh-power-bi-datasets-with-powershell/" target="_blank" rel="noopener"&gt;https://insightsquest.com/2019/03/03/refresh-power-bi-datasets-with-powershell/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the same powershell module to get all the necessary ID's to create my refresh link for a dataflow according to this article:&lt;/P&gt;&lt;P&gt;&lt;A title="Refresh dataflow" href="https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/refreshdataflow" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/refreshdataflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet when I try to reach the link with a POST request I get this error. The same command with a link to refresh a dataset does work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/164813iB8214F86D55E743F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Knipsel.PNG" alt="Error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2019 08:26:03 GMT</pubDate>
    <dc:creator>Kris_A</dc:creator>
    <dc:date>2019-05-16T08:26:03Z</dc:date>
    <item>
      <title>Reload dataflow from powershell script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/692530#M19408</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've previously used powershell to reload a dataset. This is the script I've slightly modified:&lt;/P&gt;&lt;P&gt;&lt;A href="https://insightsquest.com/2019/03/03/refresh-power-bi-datasets-with-powershell/" target="_blank" rel="noopener"&gt;https://insightsquest.com/2019/03/03/refresh-power-bi-datasets-with-powershell/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the same powershell module to get all the necessary ID's to create my refresh link for a dataflow according to this article:&lt;/P&gt;&lt;P&gt;&lt;A title="Refresh dataflow" href="https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/refreshdataflow" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/refreshdataflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet when I try to reach the link with a POST request I get this error. The same command with a link to refresh a dataset does work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/164813iB8214F86D55E743F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Knipsel.PNG" alt="Error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 08:26:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/692530#M19408</guid>
      <dc:creator>Kris_A</dc:creator>
      <dc:date>2019-05-16T08:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reload dataflow from powershell script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/777962#M20547</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/136162"&gt;@Kris_A&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the exact same problem. Have you found the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jure&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 13:19:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/777962#M20547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-28T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reload dataflow from powershell script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/960603#M22599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the Url for the&amp;nbsp;Invoke-PowerBIRestMethod from&amp;nbsp;&lt;/P&gt;&lt;P&gt;$DSurl = 'datasets/'+$DSdatasetId+'/refreshes'&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;$DSurl = 'groups/'+$DSWorkspaceId+'/datasets/'+$DSdatasetId+'/refreshes'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked for me to get the request going.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;/Rutger&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 14:13:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reload-dataflow-from-powershell-script/m-p/960603#M22599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-05T14:13:51Z</dc:date>
    </item>
  </channel>
</rss>

