Forum Discussion
How to apply Power BI Embedded capacity to workspace
- 8 years ago
Hi justindr24
After creating Power BI Embedded capacity in the Azure portal, to use your new Power BI Embedded capacity, browse to the Power BI admin portal to assign workspaces. For more information, see Manage capacities within Power BI Premium and Power BI Embedded.
From this article, it should be noted that "Capacity admins, for Power BI Embedded capacity, are defined within the Microsoft Azure portal."
Best Regards
Maggie
I had the same problem and finally resolved it by directly calling the REST API:
- Call Capacities - Get Capacities to get the id of your embedded capacity
- Call Capacities - Groups AssignToCapacity to assign a capacity to a given workspace
- To find your workspace id, you can either call the webservice or open it in the browser and look at the url, e.g. https://app.powerbi.com/groups/THIS-IS-YOUR_WORKSPACE_ID/list
Once I linked a workspace to my capacity, the Workspace Setting > Premium tab started showing the linked capacity, even though I cannot change anything there.
- prven5 years agoRegular Visitor
asarraf21 , when you called the API to assign the capacity, where did you got the CapacityId that should be passes as parameter. I created a Power BI Embedded capacity in Azure but I could not find any CapacityId associated with it. Any help is appreciated!
- asarraf213 years agoFrequent Visitor
Sorry for the late reply, I mentioned it in the first step: call GET CAPACITIES endpoint to get the capacity Id.