<?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 - Get refreshables with capacities and groups expanded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1376855#M25758</link>
    <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;nloiadn&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN class=""&gt;thank you for your answer. Unfortunatly it's still unclear for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN class=""&gt;I do have an app with the right permissions, and Power BI tenant is configured to&amp;nbsp;&lt;/SPAN&gt;Allow service principals to use Power BI APIs (AD Group with Service Principal added).&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;When I click on the try it button, where can I specified the ApplicationID ?&lt;/P&gt;&lt;P class="lia-align-left"&gt;As I said, today the API returns data, but without Group or Capacity expanded.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 07:10:18 GMT</pubDate>
    <dc:creator>lbeaudoin</dc:creator>
    <dc:date>2020-09-17T07:10:18Z</dc:date>
    <item>
      <title>API - Get refreshables with capacities and groups expanded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1375301#M25746</link>
      <description>&lt;P&gt;Hi dear PBI community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to query from my premium capacity all refresh with groups expanded from this documentation :&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getrefreshablesforcapacity#get-refreshables-with-capacities-and-groups-expanded" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getrefreshablesforcapacity#get-refreshables-with-capacities-and-groups-expanded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get some results, but no information about groups like on the sample :&lt;BR /&gt;&lt;SPAN class="hljs-attr"&gt;"group"&lt;/SPAN&gt;&lt;SPAN&gt;: { &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"id"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"cfafbeb1-8037-4d0c-896e-a46fb27ff229"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"SalesMarketing"&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using both the "Try It" button and a powershell version, with Power BI Admin capacity account and owner of severals workspaces (not all).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas ? thanks for your help&lt;/P&gt;&lt;P&gt;Laurent&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:25:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1375301#M25746</guid>
      <dc:creator>lbeaudoin</dc:creator>
      <dc:date>2020-09-16T14:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: API - Get refreshables with capacities and groups expanded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1375423#M25748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/65514"&gt;@lbeaudoin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This API needs your app to be registred. see below the pre-requisites,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have mentioned that you have tried with PBI Admin account so please register app(link attached on how to register) and check for Tenant API permissions. Then&amp;nbsp; use "Try-it" button and this shoud work. Please let me know if you are getting any issue/ error codes in the response. please accept the solution if it works.&lt;/P&gt;&lt;H1&gt;Admin - Get Refreshables For Capacity&lt;/H1&gt;&lt;DIV class="metadata"&gt;Service: Power BI REST APIs API Version: v1.0&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Returns a list of refreshables for the specified capacity the user has access to&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) to call this API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Required scope&lt;/STRONG&gt;&lt;SPAN&gt;: Tenant.Read.All or Tenant.ReadWrite.All&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To set the permissions scope, see&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/register-app" target="_blank" rel="noopener"&gt;Register an app&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 15:29:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1375423#M25748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-16T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: API - Get refreshables with capacities and groups expanded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1376855#M25758</link>
      <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;nloiadn&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN class=""&gt;thank you for your answer. Unfortunatly it's still unclear for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN class=""&gt;I do have an app with the right permissions, and Power BI tenant is configured to&amp;nbsp;&lt;/SPAN&gt;Allow service principals to use Power BI APIs (AD Group with Service Principal added).&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;When I click on the try it button, where can I specified the ApplicationID ?&lt;/P&gt;&lt;P class="lia-align-left"&gt;As I said, today the API returns data, but without Group or Capacity expanded.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1376855#M25758</guid>
      <dc:creator>lbeaudoin</dc:creator>
      <dc:date>2020-09-17T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: API - Get refreshables with capacities and groups expanded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1434987#M26136</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/65514"&gt;@lbeaudoin&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you able to get the Capacity and Groups expanded?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you have confirmed on the PBI Tenant setting of API as enabled. Using "Try it" option in the browser you dont neet to pass application id.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;API call should be as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://api.powerbi.com/v1.0/myorg/admin/capacities/{capacityId}/refreshables/{refreshableId}?$expand=capacity,group" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/capacities/{capacityId}/refreshables/{refreshableId}?$expand=capacity,group&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In the Try it now window, please check&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;capacityid* &amp;lt;capid&amp;gt;&lt;/P&gt;&lt;P&gt;refreshableid* &amp;lt;refid&amp;gt;&lt;/P&gt;&lt;P&gt;$expand capacity,group (add $expand in name text box, capacity,group in value &amp;amp; click "+" button)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now click the Run button to get the 200 response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share error code in case you get any error.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 06:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1434987#M26136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-15T06:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: API - Get refreshables with capacities and groups expanded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1469516#M26321</link>
      <description>&lt;P&gt;Hi nloiadn,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it does work ! I had to use the generated url from the Try it panel in powershell and I have all the info needed !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://api.powerbi.com/v1.0/myorg/admin/capacities/'mycapacity-id'/refreshables?%24top=100&amp;amp;%24expand=capacity%2Cgroup&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:20:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Get-refreshables-with-capacities-and-groups-expanded/m-p/1469516#M26321</guid>
      <dc:creator>lbeaudoin</dc:creator>
      <dc:date>2020-11-02T13:20:21Z</dc:date>
    </item>
  </channel>
</rss>

