<?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 Error while  calling DATAFLOW SCHEDULE REFRESH API using service Principle in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-DATAFLOW-SCHEDULE-REFRESH-API-using-service/m-p/1430054#M26096</link>
    <description>&lt;P&gt;I created an &lt;STRONG&gt;application&lt;/STRONG&gt; in the &lt;STRONG&gt;azure active directory&lt;/STRONG&gt; and created a&amp;nbsp;&lt;STRONG&gt;secret principle&lt;/STRONG&gt; for it. And I created a&lt;STRONG&gt; new security group&lt;/STRONG&gt; and added the new applications &lt;STRONG&gt;secret as a member&lt;/STRONG&gt;. And these pre-requirements are for calling a &lt;STRONG&gt;rest API on power Bi&lt;/STRONG&gt;.&lt;BR /&gt;I then added the security group to the required &lt;STRONG&gt;workspace&lt;/STRONG&gt; by assigning a role as &lt;STRONG&gt;admin&lt;/STRONG&gt; in the &lt;STRONG&gt;workspace&lt;/STRONG&gt;, so that the app can able to edit the objects in the workspace.&lt;/P&gt;&lt;P&gt;Coming to API calling with the app, everything went fine like &lt;STRONG&gt;dataset&lt;/STRONG&gt; and &lt;STRONG&gt;group&lt;/STRONG&gt; level except &lt;STRONG&gt;DATAFLOW&amp;nbsp;&lt;/STRONG&gt;level.&lt;/P&gt;&lt;P&gt;Coming to the Dataflow level, &lt;STRONG&gt;refresh API works fine&lt;/STRONG&gt; but &lt;STRONG&gt;schedule refresh API&amp;nbsp;&lt;/STRONG&gt; is returning an error, and the &lt;STRONG&gt;status code&lt;/STRONG&gt; of error is &lt;STRONG&gt;500&lt;/STRONG&gt; and the message of the error is "&lt;STRONG&gt;An error occurred&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;And the same thing happened for &lt;STRONG&gt;Dataflow update API"&lt;/STRONG&gt;&amp;nbsp; also does not work with service principle and returned an error and the error message for this API is "&lt;STRONG&gt;DataflowUnauthorizedError&lt;/STRONG&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt; we should not use a username and password for calling API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help I tried my level best But it is taking a too long time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Developer&amp;nbsp;@RestAPI&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 10:37:15 GMT</pubDate>
    <dc:creator>rohith351</dc:creator>
    <dc:date>2020-10-13T10:37:15Z</dc:date>
    <item>
      <title>Error while  calling DATAFLOW SCHEDULE REFRESH API using service Principle</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-DATAFLOW-SCHEDULE-REFRESH-API-using-service/m-p/1430054#M26096</link>
      <description>&lt;P&gt;I created an &lt;STRONG&gt;application&lt;/STRONG&gt; in the &lt;STRONG&gt;azure active directory&lt;/STRONG&gt; and created a&amp;nbsp;&lt;STRONG&gt;secret principle&lt;/STRONG&gt; for it. And I created a&lt;STRONG&gt; new security group&lt;/STRONG&gt; and added the new applications &lt;STRONG&gt;secret as a member&lt;/STRONG&gt;. And these pre-requirements are for calling a &lt;STRONG&gt;rest API on power Bi&lt;/STRONG&gt;.&lt;BR /&gt;I then added the security group to the required &lt;STRONG&gt;workspace&lt;/STRONG&gt; by assigning a role as &lt;STRONG&gt;admin&lt;/STRONG&gt; in the &lt;STRONG&gt;workspace&lt;/STRONG&gt;, so that the app can able to edit the objects in the workspace.&lt;/P&gt;&lt;P&gt;Coming to API calling with the app, everything went fine like &lt;STRONG&gt;dataset&lt;/STRONG&gt; and &lt;STRONG&gt;group&lt;/STRONG&gt; level except &lt;STRONG&gt;DATAFLOW&amp;nbsp;&lt;/STRONG&gt;level.&lt;/P&gt;&lt;P&gt;Coming to the Dataflow level, &lt;STRONG&gt;refresh API works fine&lt;/STRONG&gt; but &lt;STRONG&gt;schedule refresh API&amp;nbsp;&lt;/STRONG&gt; is returning an error, and the &lt;STRONG&gt;status code&lt;/STRONG&gt; of error is &lt;STRONG&gt;500&lt;/STRONG&gt; and the message of the error is "&lt;STRONG&gt;An error occurred&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;And the same thing happened for &lt;STRONG&gt;Dataflow update API"&lt;/STRONG&gt;&amp;nbsp; also does not work with service principle and returned an error and the error message for this API is "&lt;STRONG&gt;DataflowUnauthorizedError&lt;/STRONG&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt; we should not use a username and password for calling API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help I tried my level best But it is taking a too long time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Developer&amp;nbsp;@RestAPI&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 10:37:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-while-calling-DATAFLOW-SCHEDULE-REFRESH-API-using-service/m-p/1430054#M26096</guid>
      <dc:creator>rohith351</dc:creator>
      <dc:date>2020-10-13T10:37:15Z</dc:date>
    </item>
  </channel>
</rss>

