<?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 to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370391#M25706</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Greg for promptly reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I did put in capacities ID without {}, still showing as error below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ding_0-1600132365879.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/355593iDCEC4C84F0D871BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ding_0-1600132365879.png" alt="Ding_0-1600132365879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 01:13:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-15T01:13:58Z</dc:date>
    <item>
      <title>REST API to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370365#M25704</link>
      <description>&lt;P&gt;Hi Talent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below REST API with the capacityID&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/getrefreshablesforcapacity" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/getrefreshablesforcapacity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It return the 404 error&lt;/P&gt;&lt;H2&gt;Response Code:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="status-code status-fail"&gt;404&lt;/SPAN&gt;&lt;/H2&gt;&lt;PRE&gt;&lt;SPAN&gt;{
  &lt;SPAN class="hljs-attr"&gt;"error"&lt;/SPAN&gt;: {
    &lt;SPAN class="hljs-attr"&gt;"code"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"ItemNotFound"&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr"&gt;"message"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"Couldn't find capacity id "&lt;/SPAN&gt;
  }
}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;1. The capacity id should be correct, I get it from admin portal and as well as get capacity API, they are showing the same result&lt;/P&gt;&lt;P&gt;2. I did set up the API Permission in Azure App Registration as below. So the authorisation should be alright&lt;/P&gt;&lt;DIV class="azc-grid-tableHead"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="azc-grid-cellContent"&gt;&lt;DIV class="azc-vivaControl"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-title"&gt;&lt;SPAN&gt;Capacity.Read.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;Delegated&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;View all capacities&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;&lt;DIV class="azc-vivaControl"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent-container"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent-icon-without-margin"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ext-ad-registeredApps-apiperm-perm-row-consent-text msportalfx-tooltip-overflow"&gt;Granted for * Pty Ltd&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-hierarchical-icon"&gt;&lt;SPAN&gt;Capacity.ReadWrite.All&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;Delegated&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;Read and write all capacities&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="azc-grid-hierarchical-cell-flexcontainer"&gt;&lt;DIV class="azc-grid-cellContent"&gt;&lt;DIV class="azc-vivaControl"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent-container"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent"&gt;&lt;DIV class="ext-ad-registeredApps-apiperm-perm-row-consent-icon-without-margin"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ext-ad-registeredApps-apiperm-perm-row-consent-text msportalfx-tooltip-overflow"&gt;Granted for * Pty Ltd&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="azc-grid-tableScrollContainer azc-br-muted"&gt;&lt;DIV class="azc-grid-tableContent"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea about the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Sep 2020 00:58:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370365#M25704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-15T00:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370371#M25705</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;It's difficult to say, your URL is like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/capacities/{capacityId}/refreshables" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/capacities/{capacityId}/refreshables&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Where you have replaced {capacityId} with something like 12345 so that you get:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/capacities/12345/refreshables" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/capacities/12345/refreshables&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Obviously 12345 is just an example, you would have your capacity id in there.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 01:02:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370371#M25705</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-15T01:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370391#M25706</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Greg for promptly reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I did put in capacities ID without {}, still showing as error below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ding_0-1600132365879.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/355593iDCEC4C84F0D871BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ding_0-1600132365879.png" alt="Ding_0-1600132365879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 01:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370391#M25706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-15T01:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370396#M25707</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Try ditching your query string part of the URL and see if that makes a difference, so the part after and including the ?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 01:16:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370396#M25707</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-15T01:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Get Refreshables for Capacity return Error： 404 Couldn't find capacity id</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370419#M25708</link>
      <description>&lt;P&gt;Unfortunatley, doesn't work even I ditching the string&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 01:24:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-to-Get-Refreshables-for-Capacity-return-Error-404/m-p/1370419#M25708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-15T01:24:53Z</dc:date>
    </item>
  </channel>
</rss>

