Move your embedded app to production
After you've developed your application, you need to back your workspace with a capacity before you can move to production. All workspaces (the ones containing the reports or dashboards, and the ones containing the datasets) must be assigned to a capacity.
Create a capacity
By creating a capacity, you can take advantage of having a resource for your customers. There are two types of capacities you can choose from:
Power BI Premium - A tenant-level Microsoft 365 subscription available in two SKU families, EM and P. When you embed Power BI content, this solution is referred to as Power BI embedding. For more information regarding this subscription, see What is Power BI Premium?.
Azure Power BI Embedded - A subscription that uses A SKUs. You can purchase a capacity from the Azure portal. For details about how to create a Power BI Embedded capacity, see Create Power BI Embedded capacity in the Azure portal.
SKUs of type A don't support the use of a free Power BI license to access Power BI content.
The following table describes the resources and limits of each SKU. To determine which capacity best fits your needs, see Which solution should I choose?.
|Capacity SKUs||V-cores||Max memory (GB)1, 2, 3||DirectQuery/Live connection (per second)1, 2||Max memory per query (GB)1, 2||Model refresh parallelism2||Dataflow parallel tasks5||Max concurrent pages6|
1 The Power BI Premium Utilization and Metrics app doesn't currently expose these metrics.
2 These limits only apply to the dataset workload per capacity.
3 The Max memory (GB) column under the Dataset header represents an upper bound for the dataset size. However, an amount of memory must be reserved for operations such as refreshes and queries on the dataset. The maximum dataset size permitted on a capacity might be smaller than the numbers in this column. For more information, see Memory allocation.
4 These SKUs aren't available in all regions. To request using these SKUs in regions where they're not available, contact your Microsoft account manager.
5 Learn more about parallel tasks in dataflows.
6 See Export Power BI report to file for more information about Power BI interactive (not paginated) reports.
For development testing, you can use free embed trial tokens with a Pro license or Premium Per User (PPU) license. To embed in a production environment, use a capacity.
Free trial tokens are limited to development testing only. After going to production, a capacity must be purchased. Until a capacity is purchased, the Free trial version banner continues to appear at the top of the embedded report.
The number of embed trial tokens a Power BI service principal or master user (master account) can generate is limited. Use the Available features API to check the percentage of your current embedded usage. The usage amount is displayed per service principal or master account.
If you run out of embed tokens while testing, you need to purchase a Power BI Embedded or Premium capacity. There's no limit to the number of embed tokens you can generate with a capacity.
Assign a workspace to a capacity
After you create a capacity, you can assign your workspace to that capacity.
Each workspace that contains a Power BI item related to the embedded content (including datasets, reports, and dashboards) must be assigned to capacities. For example, if an embedded report and the dataset bound to it reside in different workspaces, both workspaces must be assigned to capacities.
Assign a workspace to a capacity by using a service principal
To assign a workspace to a capacity by using a service principal, use the Power BI REST API. When you're using the Power BI REST APIs, make sure to use the service principal object ID. The service principal should have administrator permissions for the workspace and capacity assignment permissions for the capacity.
Assign a workspace to a capacity by using a master user
You can also assign a workspace to a capacity from the settings of that workspace by using a master user. The master user must have admin permissions for that workspace, and also capacity assignment permissions for that capacity.
In the Power BI service, expand Workspaces, and then scroll to the workspace you're using for embedding your content. On its More menu, select Workspace settings.
Select the Premium tab, and do the following:
Under License mode, select the type of capacity you created: Premium per capacity or Embedded.
Select the capacity you created.
After you assign your workspace to a capacity, a diamond appears next to it in the Workspaces list.