<?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: API -  Default.GetBoundGatewayDataSources in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/448535#M13798</link>
    <description>&lt;P&gt;Naturally, I expect the API to give me the record fields available for each dataset. I do not ask for the missing field.&lt;/P&gt;&lt;P&gt;Furthermore, an error is returned despite " try ... otherwise"&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 15:55:56 GMT</pubDate>
    <dc:creator>FrankT</dc:creator>
    <dc:date>2018-06-26T15:55:56Z</dc:date>
    <item>
      <title>API -  Default.GetBoundGatewayDataSources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/420634#M12567</link>
      <description>&lt;P&gt;For some of my datasets the &lt;STRONG&gt;&lt;FONT color="#2a2a2a" size="2"&gt;Get Bound Gateway Datasources&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt; operation will fail because the field '&lt;STRONG&gt;isOnPremGatewayRequired&lt;/STRONG&gt;' of the record wasn't found. At first sight this seems to be a &lt;STRONG&gt;bug!?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;[DataSource.Kind="PowerBIRESTAPI"]&lt;BR /&gt;&amp;nbsp;PowerBIRESTAPI.BoundGatewayDataSources = () =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; source = Json.Document(Web.Contents("&lt;A href="https://api.powerbi.com/v1.0/myorg/datasets" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/datasets&lt;/A&gt;")),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = Table.FromRecords(source[value]),&lt;BR /&gt;&amp;nbsp;selected = Table.SelectColumns(value, {"id", "name"}),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BoundGatewayDataSources = Table.AddColumn(selected, "Call", each try Json.Document(Web.Contents( "&lt;A href="https://api.powerbi.com/v1.0/myorg/datasets/" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/datasets/&lt;/A&gt;" &amp;amp; [id]&amp;amp;"/Default.GetBoundGatewayDataSources", [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Headers = [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #"Content-type" = "application/json"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]])) otherwise null)&lt;BR /&gt;in&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BoundGatewayDataSources;&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/96797iF863ABACBAE3D2E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot.JPG" alt="Screenshot.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression.Error: &lt;STRONG&gt;The field 'isOnPremGatewayRequired' of the record wasn't found.&lt;/STRONG&gt;&lt;BR /&gt;Details:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id=25ec7826-1da2-4799-9dff-db84983ef86d&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&lt;STRONG&gt;RealTime&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; addRowsAPIEnabled=TRUE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; configuredBy=XXXXXXXXXXXXX&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isRefreshable=TRUE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEffectiveIdentityRequired=FALSE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEffectiveIdentityRolesRequired=FALSE&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Expression.Error: &lt;STRONG&gt;The field 'isOnPremGatewayRequired' of the record wasn't found.&lt;/STRONG&gt;&lt;BR /&gt;Details:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id=7ea173b5-1813-4bd9-9def-b40ecf89d0a3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&lt;STRONG&gt;Report Usage Metrics Model&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; addRowsAPIEnabled=FALSE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; configuredBy=XXXXXXXXXXXXX&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isRefreshable=FALSE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEffectiveIdentityRequired=FALSE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isEffectiveIdentityRolesRequired=FALSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The affected records seem to be either realtime or usage metrics or workbooks (Excel Services).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Indeed these records do not have the field &lt;STRONG&gt;isOnPremGatewayRequired.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot2.JPG" style="width: 424px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/96811iEEA95597521DCC8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot2.JPG" alt="screenshot2.JPG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 10:23:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/420634#M12567</guid>
      <dc:creator>FrankT</dc:creator>
      <dc:date>2018-05-18T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: API -  Default.GetBoundGatewayDataSources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/423334#M12703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/4784"&gt;@FrankT&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What data did you expect from this operation? Why not deleting the errors?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 06:53:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/423334#M12703</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-05-23T06:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: API -  Default.GetBoundGatewayDataSources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/448535#M13798</link>
      <description>&lt;P&gt;Naturally, I expect the API to give me the record fields available for each dataset. I do not ask for the missing field.&lt;/P&gt;&lt;P&gt;Furthermore, an error is returned despite " try ... otherwise"&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 15:55:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/448535#M13798</guid>
      <dc:creator>FrankT</dc:creator>
      <dc:date>2018-06-26T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: API -  Default.GetBoundGatewayDataSources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/794771#M20802</link>
      <description>&lt;P&gt;Searching for help on this very topic - have you identified a workaround?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:42:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Default-GetBoundGatewayDataSources/m-p/794771#M20802</guid>
      <dc:creator>klinejordan</dc:creator>
      <dc:date>2019-09-17T16:42:28Z</dc:date>
    </item>
  </channel>
</rss>

