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 assign it to my Power BI workspace.
If I call the Azure Management API to get capacities, my A1 capacity is returned in the response, but the ID is a string path to the capacity such as "/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.
If I call the Power BI API to get capacities, 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. Why is this call not returning my A1 sku so I can get the capacity ID?