Reply
lizi
Frequent Visitor
Partially syndicated - Outbound

Do I have to register a new app in Power BI if I already have an application where I am embedding to

I am stuck getting power bi embedded working. I keep reading that I need to register an application in Azure/Power BI.

I have an existing web application. Does that mean I can skip this step of creating one? https://app.powerbi.com/embedsetup/AppOwnsData

note: I'm trying to set this up with AppOwnsData, masteruser.

 

additionally:

1. how does granting my application permissions help, if I am embedding this on my front end?

2. if I were to register this application in power bi using the link above, how does my application where I embed to know about it?

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @lizi ,

1. You'll use a service principal to authenticate you're web app against Azure AD. You'll also need an Azure AD app which will enable you to generate an Azure AD token.

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-customer-app#step-1---configure-y...

2. There are two kinds of Power BI embedded, one is Embed for your customers, the other is Embed for your organization, I recommend you to use Embed for your customers.

App users don't need a license.

This is a comparison of the two methods:

vyangliumsft_0-1650272777853.png

https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/power-bi-embedded-analytics#compari...

3. You can try to open a file through visual studio, then modify the parameters in it, run it directly, a web link will pop up, and then display the embedded content.

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-cor...

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @lizi ,

1. You'll use a service principal to authenticate you're web app against Azure AD. You'll also need an Azure AD app which will enable you to generate an Azure AD token.

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-customer-app#step-1---configure-y...

2. There are two kinds of Power BI embedded, one is Embed for your customers, the other is Embed for your organization, I recommend you to use Embed for your customers.

App users don't need a license.

This is a comparison of the two methods:

vyangliumsft_0-1650272777853.png

https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/power-bi-embedded-analytics#compari...

3. You can try to open a file through visual studio, then modify the parameters in it, run it directly, a web link will pop up, and then display the embedded content.

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-cor...

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)