<?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: Rename DataFlow using REST API - You do not have permissions in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1703562#M28205</link>
    <description>&lt;P&gt;Yes I have registered the app with&amp;nbsp;&lt;SPAN&gt;Dataflow.ReadWrite.All permissions but still receive error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Interestingly if i remove this permission I can still read the data from the dataflow.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 15:04:53 GMT</pubDate>
    <dc:creator>rockcliff15</dc:creator>
    <dc:date>2021-03-04T15:04:53Z</dc:date>
    <item>
      <title>Rename DataFlow using REST API - You do not have permissions</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1687223#M28066</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am happilly using the Power BI REST APIs for pulling information about dataflows and triggering refreshes. I am doing this using a service principal which has appropriate permissions to the tenant and the workspaces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/updatedataflow" target="_blank" rel="noopener"&gt;update data flow&lt;/A&gt;&amp;nbsp;API so I can programmatically rename dataflows, however when I do this by making an API call I receive the error &lt;EM&gt;"&lt;SPAN&gt;You&amp;nbsp;do&amp;nbsp;not&amp;nbsp;have&amp;nbsp;permissions&amp;nbsp;to&amp;nbsp;manage&amp;nbsp;this&amp;nbsp;dataflow&lt;/SPAN&gt;".&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume this is because the service principal is not the owner of the Dataflow and as a result cannot rename it. Is there an API call I can make to "take over" the dataflow and make the service principal the owner so I can rename it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:29:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1687223#M28066</guid>
      <dc:creator>rockcliff15</dc:creator>
      <dc:date>2021-02-24T17:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rename DataFlow using REST API - You do not have permissions</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1688165#M28074</link>
      <description>&lt;P&gt;When you registered your app did you ask for&amp;nbsp;&lt;SPAN&gt;Dataflow.ReadWrite.All permissions?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 02:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1688165#M28074</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-02-25T02:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rename DataFlow using REST API - You do not have permissions</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1691639#M28110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/219052"&gt;@rockcliff15&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Is there an API call I can make to "take over" the dataflow and make the service principal the owner so I can rename it?"&lt;/EM&gt;&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/dataflows" target="_blank"&gt;Dataflows (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I did not find such a Rest API that allows you to change the owner, even if such an API exists, you will be required to have Dataflow.ReadWrite.All&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;You should obtain the required permissions first.&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;
&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>Fri, 26 Feb 2021 09:25:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1691639#M28110</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-02-26T09:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rename DataFlow using REST API - You do not have permissions</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1703562#M28205</link>
      <description>&lt;P&gt;Yes I have registered the app with&amp;nbsp;&lt;SPAN&gt;Dataflow.ReadWrite.All permissions but still receive error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Interestingly if i remove this permission I can still read the data from the dataflow.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 15:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-DataFlow-using-REST-API-You-do-not-have-permissions/m-p/1703562#M28205</guid>
      <dc:creator>rockcliff15</dc:creator>
      <dc:date>2021-03-04T15:04:53Z</dc:date>
    </item>
  </channel>
</rss>

