<?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: How to get Power BI Embedded Capacity ID in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2942860#M40084</link>
    <description>&lt;P&gt;I was able to get the capacity. I had to set my Service Principal as a Capacity Admin as described in the screenshot here,&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Service/How-to-apply-Power-BI-Embedded-capacity-to-workspace/m-p/473924" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Service/How-to-apply-Power-BI-Embedded-capacity-to-workspace/m-p/473924&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was then able to get the capacity ID via API call, and assign the capacity to my workspace via API call. However, I am still unable to see my capacity in the Power BI Admin Portal...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I am now able to see the capacity in Power BI Admin Portal after adding myself as a Capacity Admin.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 21:16:43 GMT</pubDate>
    <dc:creator>Log4TurtleShell</dc:creator>
    <dc:date>2022-12-01T21:16:43Z</dc:date>
    <item>
      <title>How to get Power BI Embedded Capacity ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2940166#M40063</link>
      <description>&lt;P&gt;I have created a Power BI Embedded Capacity in Azure using the A1 sku. I need to get the ID of this capacity so that I can &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/capacities/groups-assign-to-capacity" target="_blank" rel="noopener"&gt;assign it to my Power BI workspace.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I call the Azure Management API to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi-embedded/capacities/get-details?tabs=HTTP" target="_blank" rel="noopener"&gt;get capacities&lt;/A&gt;, my A1 capacity is returned in the response, but the ID is a string path to the capacity such as&amp;nbsp;&lt;SPAN class=""&gt;"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest". For the request to assign the capacity to my workspace I need the actual GUID of the capacity.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If I call the Power BI API to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/capacities/get-capacities" target="_blank" rel="noopener"&gt;get capacities&lt;/A&gt;, my A1 capacity is not returned. However a PP3 (Premium Per User) capacity is returned. I am using my Service Principal to get a V2 Aad Token to use with this call to get capacities. &lt;STRONG&gt;Why is this call not returning my A1 sku so I can get the capacity ID?&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:13:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2940166#M40063</guid>
      <dc:creator>Log4TurtleShell</dc:creator>
      <dc:date>2022-11-30T20:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Power BI Embedded Capacity ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2941559#M40076</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/451991"&gt;@Log4TurtleShell&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can find the capacity ID in the URL of the capacity management page. In the Power BI service, go to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Settings&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Admin portal&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Capacity settings&lt;/STRONG&gt;&lt;SPAN&gt;, then select a Gen2 capacity. The capacity ID is shown in the URL after&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/capacities/&lt;/EM&gt;&lt;SPAN&gt;. For example,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;9B77CC50-E537-40E4-99B9-2B356347E584&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;is the capacity ID in this URL:&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="https://app.powerbi.com/admin-portal/capacities/9B77CC50-E537-40E4-99B9-2B356347E584" target="_blank"&gt;https://app.powerbi.com/admin-portal/capacities/9B77CC50-E537-40E4-99B9-2B356347E584&lt;/A&gt;&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 09:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2941559#M40076</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-12-01T09:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Power BI Embedded Capacity ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2942002#M40078</link>
      <description>&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I go to Capactiy settings there are no capacities listed. Don't I have to assign the capacity to the workspace first?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 13:42:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2942002#M40078</guid>
      <dc:creator>Log4TurtleShell</dc:creator>
      <dc:date>2022-12-01T13:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Power BI Embedded Capacity ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2942860#M40084</link>
      <description>&lt;P&gt;I was able to get the capacity. I had to set my Service Principal as a Capacity Admin as described in the screenshot here,&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Service/How-to-apply-Power-BI-Embedded-capacity-to-workspace/m-p/473924" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Service/How-to-apply-Power-BI-Embedded-capacity-to-workspace/m-p/473924&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was then able to get the capacity ID via API call, and assign the capacity to my workspace via API call. However, I am still unable to see my capacity in the Power BI Admin Portal...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I am now able to see the capacity in Power BI Admin Portal after adding myself as a Capacity Admin.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-Power-BI-Embedded-Capacity-ID/m-p/2942860#M40084</guid>
      <dc:creator>Log4TurtleShell</dc:creator>
      <dc:date>2022-12-01T21:16:43Z</dc:date>
    </item>
  </channel>
</rss>

