<?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: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636180#M18680</link>
    <description>&lt;P&gt;yaay, some small progress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Postman - get acces token.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/150061i90F8E6BEC8FCF4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Postman - get acces token.PNG" alt="Postman - get acces token.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 10:57:09 GMT</pubDate>
    <dc:creator>Robinator</dc:creator>
    <dc:date>2019-03-04T10:57:09Z</dc:date>
    <item>
      <title>How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/635058#M18677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've built multiple pipelines in Azure data factory and a few Power BI reports (&lt;A href="https://app.powerbi.com" target="_blank" rel="noopener"&gt;https://app.powerbi.com&lt;/A&gt;) that use data from those pipelines. My ultimate goal is to be able to refresh a Power BI data set at the end of a pipeline. Underneath I'll show a small selection of what i've read and tried so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://medium.com/@Konstantinos_Ioannou/refresh-powerbi-dataset-with-microsoft-flow-73836c727c33" target="_blank" rel="noopener"&gt;https://medium.com/@Konstantinos_Ioannou/refresh-powerbi-dataset-with-microsoft-flow-73836c727c33&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mitra.computa.asia/articles/msdn-how-use-power-bi-embedded-rest" target="_blank" rel="noopener"&gt;https://mitra.computa.asia/articles/msdn-how-use-power-bi-embedded-rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started by registrating at &lt;A href="https://dev.powerbi.com/apps" target="_blank" rel="noopener"&gt;https://dev.powerbi.com/apps&lt;/A&gt; and with API Acces "Select All". I checked in the azure portal the app registrations. I registrated twice because i was not sure if the&amp;nbsp;oauth20 (following&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/95"&gt;@konstantinos&lt;/a&gt;) would screw thing up:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADF App services App registrations.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149756i43898A991D38D1AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADF App services App registrations.PNG" alt="ADF App services App registrations.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADF App services App registrations (2).PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149758iE4987ED57823CE69/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADF App services App registrations (2).PNG" alt="ADF App services App registrations (2).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I started in Azure data factory, but after a while (of having failures) I started using Fiddler to send the HTTP Post request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the logic described at&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdatasetingroup" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdatasetingroup&lt;/A&gt;. It says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetKey}/refreshes" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetKey}/refreshes&lt;/A&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I get my group and dataset ID at&amp;nbsp;&lt;A href="https://app.powerbi.com/....&amp;nbsp;" target="_blank" rel="noopener"&gt;https://app.powerbi.com/....&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Group and dataset id.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149762i7764E14D882A4061/image-size/large?v=v2&amp;amp;px=999" role="button" title="Group and dataset id.PNG" alt="Group and dataset id.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt;&amp;nbsp; &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/ecb52bc1-........................../datasets/ab5d2d28-....................../refreshes" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/ecb52bc1-........................../datasets/ab5d2d28-....................../refreshes&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I copy this link into Fiddler:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiddler Try.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149764iAA73A0DE09714E86/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fiddler Try.PNG" alt="Fiddler Try.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiddler Response headers.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149765iF1388C7B9F6E110B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fiddler Response headers.PNG" alt="Fiddler Response headers.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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;&lt;SPAN&gt;My best guess would be that i should include authentication into the request body, although i cant find examples online.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventually I want to refresh the dataset&amp;nbsp; from a 'web' container in ADF. Although, lets start succesfully refreshing something first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADF - Refresh dataset from Web container.PNG" style="width: 569px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149766i08744C779460DAD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADF - Refresh dataset from Web container.PNG" alt="ADF - Refresh dataset from Web container.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 09:27:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/635058#M18677</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-01T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636017#M18678</link>
      <description>&lt;P&gt;Gonna try this solution. Magic search word = Postman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-using-postman-generate-embed-token/m-p/310153#M9157" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Power-BI-REST-API-using-postman-generate-embed-token/m-p/310153#M9157&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 08:22:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636017#M18678</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-04T08:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636180#M18680</link>
      <description>&lt;P&gt;yaay, some small progress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Postman - get acces token.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/150061i90F8E6BEC8FCF4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Postman - get acces token.PNG" alt="Postman - get acces token.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:57:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636180#M18680</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-04T10:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636299#M18685</link>
      <description>&lt;P&gt;another step forward, not sure how i get this token into a new API post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Postman - get acces token new version.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/150090i99012BCBC2A6C5CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Postman - get acces token new version.PNG" alt="Postman - get acces token new version.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 14:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636299#M18685</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-04T14:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636915#M18692</link>
      <description>&lt;P&gt;gonna try creating a powershell script and run that script in ADF using a webhook,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;special thanks to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://blog.gbrueckl.at/2017/08/refresh-powerbi-datasets-powershell-azure-runbooks/" target="_blank" rel="noopener"&gt;https://blog.gbrueckl.at/2017/08/refresh-powerbi-datasets-powershell-azure-runbooks/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod?view=powershell-3.0" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod?view=powershell-3.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/52697381/power-bi-dataset-refresh-using-powershell" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/52697381/power-bi-dataset-refresh-using-powershell&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 07:59:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/636915#M18692</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-05T07:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639166#M18725</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Used the following as Powershell script, and it worked&amp;nbsp;&lt;img id="cathappy" class="emoticon emoticon-cathappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_cat-happy.png" alt="Cat Happy" title="Cat Happy" /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$authUrl&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://login.windows.net/common/oauth2/token/" target="_blank" rel="noopener"&gt;https://login.windows.net/common/oauth2/token/&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$body&lt;/SPAN&gt;&lt;SPAN&gt; = @{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"resource"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://analysis.windows.net/powerbi/api" target="_blank" rel="noopener"&gt;https://analysis.windows.net/powerbi/api&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"client_id"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"bf.........."&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"grant_type"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"password"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;".......&lt;/SPAN&gt;@.........";&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"password"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"............."&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"scope"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"openid"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$authResponse&lt;/SPAN&gt;&lt;SPAN&gt; = Invoke-RestMethod -Uri &lt;/SPAN&gt;&lt;SPAN&gt;$authUrl&lt;/SPAN&gt;&lt;SPAN&gt; –Method POST -Body &lt;/SPAN&gt;&lt;SPAN&gt;$body&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$headers&lt;/SPAN&gt;&lt;SPAN&gt; = @{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Content-Type"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"application/json"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Authorization"&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$authResponse&lt;/SPAN&gt;&lt;SPAN&gt;.token_type + &lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$authResponse&lt;/SPAN&gt;&lt;SPAN&gt;.access_token&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$restURL&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$restResponse&lt;/SPAN&gt;&lt;SPAN&gt; = Invoke-RestMethod -Uri &lt;/SPAN&gt;&lt;SPAN&gt;$restURL&lt;/SPAN&gt;&lt;SPAN&gt; –Method GET -Headers &lt;/SPAN&gt;&lt;SPAN&gt;$headers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$datasetId&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"ab5d......."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$groupId&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"ecb5......"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;$restUrl&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;$groupId&lt;/SPAN&gt;&lt;SPAN&gt;/datasets/&lt;/SPAN&gt;&lt;SPAN&gt;$datasetId&lt;/SPAN&gt;&lt;SPAN&gt;/refreshes"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$body&lt;/SPAN&gt;&lt;SPAN&gt; = @{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"notifyOption"&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;"MailOnFailure"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;$restResponse&lt;/SPAN&gt;&lt;SPAN&gt; = Invoke-RestMethod -Uri &lt;/SPAN&gt;&lt;SPAN&gt;$restUrl&lt;/SPAN&gt;&lt;SPAN&gt; –Method POST -Headers &lt;/SPAN&gt;&lt;SPAN&gt;$headers&lt;/SPAN&gt;&lt;SPAN&gt; -Body &lt;/SPAN&gt;&lt;SPAN&gt;$body&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Mar 2019 10:20:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639166#M18725</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-07T10:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639265#M18729</link>
      <description>&lt;P&gt;Thanks for the help Robinator!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 11:49:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639265#M18729</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-07T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Datasets with PowerBI REST API - executed in Azure Data Factory Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639267#M18730</link>
      <description>&lt;P&gt;You're welcome&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 11:49:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-refresh-Datasets-with-PowerBI-REST-API-executed-in-Azure/m-p/639267#M18730</guid>
      <dc:creator>Robinator</dc:creator>
      <dc:date>2019-03-07T11:49:38Z</dc:date>
    </item>
  </channel>
</rss>

