<?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 cannot see gateways in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4135962#M55140</link>
    <description>&lt;P&gt;That means you are not an admin on any of the gateways.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 17:06:05 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-09-05T17:06:05Z</dc:date>
    <item>
      <title>REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4133760#M55112</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some on premise data gateways configured in&amp;nbsp;app.powerbi.com, I have been trying to create an import flow for some users from an app by using only Power bi REST API, however, once the import a report to a group, my app (through REST API) needs to configure stuff like the gateway, refresh and all that. However I tried with all the "get gateways" endpoints I could try in the docs but no matter which one I use I cannot see any of the gateways I have set and I can see on app.powerbi.com. How can I see my gateways and configure them using the REST API?&lt;/P&gt;&lt;P&gt;FROM DATASETS:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/discover-gateways" target="_blank" rel="noopener"&gt;Discover Gateways&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/discover-gateways-in-group" target="_blank" rel="noopener"&gt;Discover Gateways In Group&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-gateway-datasources" target="_blank" rel="noopener"&gt;Get Gateway Datasources&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-gateway-datasources-in-group" target="_blank" rel="noopener"&gt;Get Gateway Datasources In Group&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FROM GATEWAYS&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateway" target="_blank" rel="noopener"&gt;Get Gateway&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateways" target="_blank" rel="noopener"&gt;Get Gateways&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:40:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4133760#M55112</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-04T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4134261#M55119</link>
      <description>&lt;P&gt;Are you admin of any of the gateways? What does the test of&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateways" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateways&lt;/A&gt;&amp;nbsp;return?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 00:24:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4134261#M55119</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-05T00:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4135653#M55135</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;&amp;nbsp;well I think I am admin although I am not sure if should switch any setting, if I go to app.powerbi.com I do not see anything that seems like needs to be changed in the gateways for me to use them with the REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thest you mention returns a successful response but the value is an empty array:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Korlay37_0-1725546030014.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1162871i30E1D3039FBACF3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Korlay37_0-1725546030014.png" alt="Korlay37_0-1725546030014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:21:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4135653#M55135</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-05T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4135962#M55140</link>
      <description>&lt;P&gt;That means you are not an admin on any of the gateways.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 17:06:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4135962#M55140</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-05T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4137771#M55155</link>
      <description>&lt;P&gt;How do I set my app to be an admin of the gateways, in my app to generate a token I use a tenant id, an app id, an app secret. but withing app.powerbi.com I dont see any setting involving the gateways.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 13:53:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4137771#M55155</guid>
      <dc:creator>Korlay37</dc:creator>
      <dc:date>2024-09-06T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: REST API cannot see gateways</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4137828#M55157</link>
      <description>&lt;P&gt;&amp;nbsp;No idea how that client id/ client secret authentication translates into a user or service principal that could then be added to the gateway admins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to pivot over to the "as admin"&amp;nbsp; APIs. Those may not require a user.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 14:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-cannot-see-gateways/m-p/4137828#M55157</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-06T14:10:28Z</dc:date>
    </item>
  </channel>
</rss>

