<?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: REST API Bind Datasource in group not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4143810#M55208</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/382632"&gt;@Korlay37&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, the 403 error code is usually caused by insufficient permissions or being prohibited from the server for this requested operation, if your service principal already has sufficient permissions: Tenant.readwrite, then I think the only place to check and confirm is that you need to work with your tenant administrator to confirm the Admin in your Power BI tenant These two options in the portal allow the service principal to use the Power BI API are turned on:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1726018206262.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1165417iA12D46833FDCDC2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1726018206262.png" alt="vyangliumsft_0-1726018206262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/admin/tenant-settings-index" target="_blank"&gt;Tenant settings index - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 01:30:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-11T01:30:21Z</dc:date>
    <item>
      <title>REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4141420#M55192</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up an imported report to refresh, in order to do that I have to bind it to one of my gateways. For that, I want to use the REST API: Datasets - Bind to Gateway in Group (&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/bind-to-gateway-in-group" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/bind-to-gateway-in-group&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this I am using my dataset Id, my Gateway Id and the gateway's datasource id, I use the endpoint and I get a code 200 from the request from the API... however the Dataset gateway is not changing. The gateway it has does not even exist. That gateway was created by importing the report using the REST API but if I check its gateway I get a not found code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 22:16:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4141420#M55192</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-09T22:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4142259#M55199</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/382632"&gt;@Korlay37&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your API, this api is used to realize binds the specified dataset from the specified workspace to the specified gateway, conveniently you need to go to the corresponding workspace and click on Settings -&amp;gt; Find the corresponding dataset, and then come to the You need to go to the corresponding workspace and click Setup-&amp;gt;Find the corresponding dataset, and then come to the UI interface of Power BI service to check whether you can find the corresponding gateway, and then make sure whether it has been bound successfully. If you are still not sure, you can consider using this rest api to try to find out whether the corresponding gateway already exists in the corresponding workspace, and if so, check to which dataset the gateway is bound.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/discover-gateways-in-group" target="_blank"&gt;Datasets - Discover Gateways In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:54:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4142259#M55199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T07:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4143105#M55204</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I am using the api is that I do not want to go to the settings or setup in the UI interface of power bi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateways" target="_self"&gt;Gateways - Get Gateways&lt;/A&gt;&amp;nbsp; I can see the gateway I want to bind my dataset to, but if I use &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/discover-gateways-in-group" target="_self"&gt;Datasets - Discover Gateways in Group&lt;/A&gt;&amp;nbsp;I get a "value": [ ] (no gateway to show) and if I use &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/discover-gateways" target="_self"&gt;Datasets - Discover Gateways&lt;/A&gt; I get a code 403 Forbidden. This strange behaviour may have something to do with the Bind Gateway in group not working.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:10:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4143105#M55204</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-10T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4143810#M55208</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/382632"&gt;@Korlay37&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, the 403 error code is usually caused by insufficient permissions or being prohibited from the server for this requested operation, if your service principal already has sufficient permissions: Tenant.readwrite, then I think the only place to check and confirm is that you need to work with your tenant administrator to confirm the Admin in your Power BI tenant These two options in the portal allow the service principal to use the Power BI API are turned on:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1726018206262.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1165417iA12D46833FDCDC2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1726018206262.png" alt="vyangliumsft_0-1726018206262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/admin/tenant-settings-index" target="_blank"&gt;Tenant settings index - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 01:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4143810#M55208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-11T01:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4145599#M55219</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well the use of Fabric APIs is enabled, and I do not see how the create and use profiles would affect this issue...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Korlay37_0-1726081111927.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1166013i46B192421D79A212/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Korlay37_0-1726081111927.png" alt="Korlay37_0-1726081111927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the real question here is why the REST API BIND TO GATEWAY IN GROUP returns a code 200 (ok) but it is not working? Is there a way to contact support?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 18:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4145599#M55219</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-11T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bind Datasource in group not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4145702#M55221</link>
      <description>&lt;P&gt;If you have a Pro license you can open a Pro ticket at &lt;A href="https://admin.powerplatform.microsoft.com/newsupportticket/powerbi" target="_blank"&gt;https://admin.powerplatform.microsoft.com/newsupportticket/powerbi&lt;/A&gt;&lt;BR /&gt;Otherwise you can raise an issue at &lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 21:04:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-Bind-Datasource-in-group-not-working/m-p/4145702#M55221</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-11T21:04:42Z</dc:date>
    </item>
  </channel>
</rss>

