Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
lizi
Frequent Visitor

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

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

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.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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