Embed your Power BI dashboards, reports and tiles

Learn about the steps you need to take to embed Power BI content within your application.

Microsoft announced Power BI Premium, a new capacity-based licensing model that increases flexibility for how users access, share and distribute content. The offering also delivers additional scalability and performance to the Power BI service. Power BI Embedded was also announced that allows for creating capacity within Microsoft Azure. Power BI Embedded is focused on your application and your customers.

This article will look at embedding your Power BI content for both your organization and your customers. The steps are similar between the two scenarios. Callouts will be made when a step is specific to embedding for your customer.

There are a few steps you have to do with your application to make this possible. We will go through the steps needed to allow you to create and use embedded content within your application.


The Power BI APIs still refer to app workspaces as groups. Any references to groups mean that you are working with app workspaces.

Step 1: Setup your embedded analytics development environment

Before you start embedding dashboards and reports into your application, you need to make sure your environment is setup to allow for embedding. As part of the setup, you will need to do the following.


Power BI capacity is not required for development of your application. The developers of the application will need to have a Power BI Pro license.

Azure Active Directory tenant

You will need an Azure Active Directory (Azure AD) tenant in order to embed items from Power BI. This tenant must have at least one Power BI Pro user. You will also need to define an Azure AD app within the tenant. You can make use of an existing Azure AD tenant or create a new one specifically for embedding purposes.

You will need to determine what tenant setup to use if you are embedding for your customers.

  • Use your existing corporate Power BI tenant?
  • Use a separate tenant for your application?
  • Use a separate tenant for each customer?

If you do not want to use an existing tenant, you can decide to create a new tenant for your application, or one for each customer, see Create an Azure Active Directory tenant or How to get an Azure Active Directory tenant.

Create a Power BI Pro user account

You only need a single Power BI Pro account to embed content. However, you may want to have a few different users that have specific access to items. Here is a look at possible users to consider within your tenant.

The following accounts will need to exist within your tenant and have a Power BI Pro license assigned to them. A Power BI Pro license is required to work with app workspaces within Power BI.

An organization/tenant admin user

It is recommended that your organization/tenant Global Admin user should not be used as account your application uses if embedding for your customers. This is to minimize access that the application account has within your tenant. It is recommended that the admin user be an admin of all app workspaces created for the purpose of embedding.

Accounts for analysts that will create content

You may have multiple users that create content for Power BI. You will need a Power BI Pro account for each analyst that is creating and deploying content to Power BI.

An application master user account for embedding for your customers

The master account is the account your application will use when embedding content for your customers. The scenario is typically for ISV applications. The master account is really the only required account you need within your organization. It can also be used as the admin and analyst account, but it is not recommended. Your application's backend will store the credentials for this account and use it for acquiring an Azure AD auth token for use with the Power BI APIs. This account will be used to generate an embed token for the application to use for your customers.

The master account is just a regular user with a Power BI Pro license that you use with your application. The account must be an admin of the app workspace that is being used for embedding.

App registration and permissions

You will need to register your application with Azure AD in order to make REST API calls. For more information, see Register an Azure AD app to embed Power BI content.

Create app workspaces

If you are embedding dashboards and reports for your customers, those dashboards and reports have to be placed within an app workspace. The master account, that was mentioned above, must be an admin of the app workspace.

  1. Start by creating the workspace. Select Workspaces > Create app workspace.

    Create app workspace

    This will be the place to put content that you and your colleagues collaborate on.

  2. Give the workspace a name. If the corresponding Workspace ID isn't available, edit it to come up with a unique ID.

    This will be the name of the app, too.

    Name the workspace

  3. You have a few options to set. If you choose Public, anyone in your organization can see what’s in the workspace. Private, on the other hand, means only members of the workspace can see its contents.

    Set Private or Public

    You can't change the Public/Private setting after you've created the group.

  4. You can also choose if members can edit or have view-only access.

    Set edit or view-only

    Only add people to the app workspace so they can edit the content. If they're only going to view the content, don't add them to the workspace. You can include them when you publish the app.

  5. Add email addresses of people you want to have access to the workspace, and select Add. You can’t add group aliases, just individuals.

  6. Decide whether each person is a member or an admin.

    Set Member or Admin

    Admins can edit the workspace itself, including adding other members. Members can edit the content in the workspace, unless they have view-only access. Both admins and members can publish the app.

  7. Select Save.

Power BI creates the workspace and opens it. It appears in the list of workspaces you’re a member of. Because you’re an admin, you can select the ellipsis (…) to go back and make changes to it, adding new members or changing their permissions.

Edit workspace


A non-admin user can only create up to 250 app workspaces. To create more app workspaces, you need to use a tenant admin account.

Create and upload your reports

You can create your reports and datasets using Power BI Desktop and then publish those reports to an app workspace. The end user publishing the reports need to have a Power BI Pro license in order to publish to an app workspace.

Step 2: Embed your content

Within your application, you will need to authenticate with Power BI. If you are embedding content for your customers, you will store the credentials for the master account within your application. For more information, see Authenticate users and get an Azure AD access token for your Power BI app.

Once authenticated, within your application, use the Power BI REST APIs and JavaScript APIs to embed dashboards and reports into your application.

For embedding for your organization, see the following walkthroughs:

For embeding with your customers, which is typical for ISVs, see the following:

When embedding for your customers, an embed token is required. To learn more see, GenerateToken.

Step 3: Promote your solution to production

Moving to production requires a few extra steps.

Embedding for your organization

If you are embedding for your organization, you only need to let people know how to get to your application.

Free users can consume content that is embedded from an app workspace (group), if that workspace is backed by capacity. List the Free user as a member of app workspace (group), otherwise you receive a 401 unauthorized error. The following table lists the available Power BI Premium SKUs available within Office 365.

Capacity Node Total cores
(Backend + frontend)
Backend Cores Frontend Cores DirectQuery/live connection limits Max page renders at peak hour
EM3 4 v-cores 2 cores, 10GB RAM 2 cores 601-1,200
P1 8 v-cores 4 cores, 25GB RAM 4 cores 30 per second 1,201-2,400
P2 16 v-cores 8 cores, 50GB RAM 8 cores 60 per second 2,401-4,800
P3 32 v-cores 16 cores, 100GB RAM 16 cores 120 per second 4,801-9600


You must be a Global or Billing Admin, within your tenant, in order to purchase Power BI Premium. For information on how to purchase Power BI Premium, see How to purchase Power BI Premium.

Embedding for your customers

If you are embedding for your customers, do the following.

  • If you are using a separate tenant for development, then you must make sure your app workspaces, along with dashboards and reports, are available in your production environment. Make sure that you create the application in Azure AD for your production tenant and assign the proper app permissions as indicated in Step 1.
  • Purchase a capacity that fits your needs. You can use the table below to understand which Power BI Embedded capacity SKU you may need. For more details, see Embedded analytics capacity planning whitepaper. When you are ready to purchase, you can do so within the Microsoft Azure portal. For details on how to create Power BI Embedded capacity, see Create Power BI Embedded capacity in the Azure portal.


Because embed tokens are intended for development testing only, the number of embed tokens a Power BI master account can generate is limited. A capacity must be purchased for production embedding scenarios. There is no limit to embed token generation when a capacity is purchased. Go to Get Available Features to check for how many free embed tokens have been used.

Capacity Node Total cores
(Backend + frontend)
Backend Cores Frontend Cores DirectQuery/live connection limits Max page renders at peak hour
A1 1 v-cores .5 cores, 3GB RAM .5 cores 5 per second 1-300
A2 2 v-cores 1 core, 5GB RAM 1 core 10 per second 301-600
A3 4 v-cores 2 cores, 10GB RAM 2 cores 15 per second 601-1,200
A4 8 v-cores 4 cores, 25GB RAM 4 cores 30 per second 1,201-2,400
A5 16 v-cores 8 cores, 50GB RAM 8 cores 60 per second 2,401-4,800
A6 32 v-cores 16 cores, 100GB RAM 16 cores 120 per second 4,801-9600
  • Edit the app workspace and assign it to a capacity under advanced.

    Assign app workspace to capacity

  • Deploy your updated application to production and begin embedding Power BI dashboards and reports.

Admin settings

Global Admins, or Power BI service administrators, can turn the ability to use the REST APIs, on or off for a tenant. Power BI admins can set this setting for the entire organization, or for individual security groups. It is enabled for the entire organization by default. This is done through the Power BI admin portal.

Next steps

Embedding with Power BI
How to migrate Power BI Embedded workspace collection content to Power BI
Power BI Premium - what is it?
How to purchase Power BI Premium
JavaScript API Git repo
Power BI C# Git repo
JavaScript embed sample
Embedded analytics capacity planning whitepaper
Power BI Premium whitepaper

More questions? Try asking the Power BI Community