<?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 Dataset based on Dataflows - update credentials in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1822084#M29283</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have a dataset with 2 dataflows as the source in import mode.&lt;/P&gt;&lt;P&gt;Once the pbix file is published to power bi service programatically using service principal - appid, secret,&amp;nbsp;Dataset refresh&amp;nbsp; via rest api's fail. The reason is credentils need to be updated or i'm having to manually take over and sign in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an alternative to manual steps? can we update/authenticate service principal programatically to then be able to refresh the dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 10:20:29 GMT</pubDate>
    <dc:creator>RakeshSinghr</dc:creator>
    <dc:date>2021-05-04T10:20:29Z</dc:date>
    <item>
      <title>Dataset based on Dataflows - update credentials</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1822084#M29283</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have a dataset with 2 dataflows as the source in import mode.&lt;/P&gt;&lt;P&gt;Once the pbix file is published to power bi service programatically using service principal - appid, secret,&amp;nbsp;Dataset refresh&amp;nbsp; via rest api's fail. The reason is credentils need to be updated or i'm having to manually take over and sign in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an alternative to manual steps? can we update/authenticate service principal programatically to then be able to refresh the dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 10:20:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1822084#M29283</guid>
      <dc:creator>RakeshSinghr</dc:creator>
      <dc:date>2021-05-04T10:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset based on Dataflows - update credentials</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1829008#M29323</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/90017"&gt;@RakeshSinghr&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdataset" target="_blank"&gt;Datasets - Refresh Dataset (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Have you used this Rest API to refresh your dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can configure scheduled refresh for your dataset so that you don't need to update the credential every time you execute the refresh schedule.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v-lionel-msft_1-1620364833447.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/509832i8CC8CDB7BCEBAE59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="v-lionel-msft_1-1620364833447.png" alt="v-lionel-msft_1-1620364833447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 05:20:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1829008#M29323</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-05-07T05:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset based on Dataflows - update credentials</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1829461#M29329</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/184579"&gt;@v-lionel-msft&lt;/a&gt;&amp;nbsp;yes i have used that API but the question is how to get around authenticating/signing in after dataset is deployed programtically. A direct refresh after deploying fails.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 08:31:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-based-on-Dataflows-update-credentials/m-p/1829461#M29329</guid>
      <dc:creator>RakeshSinghr</dc:creator>
      <dc:date>2021-05-07T08:31:23Z</dc:date>
    </item>
  </channel>
</rss>

