Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello, We have a web application developed in Java and Angular front-end with Azure AD authentication, and we want to embed reports in that application. I have been going through Power BI Embedded Analytics with different approaches like App Owns Data and User Owns Data. Since Java app is already authenticating users with AAD, how could use that existing authentication (or access token) to let the user the reports? Is there any github example available for similar scenerio ( it would be probably a common case)?
Thanks,
Sathish
Thanks Rico for your reply. Yes, I am aware of the methods to embed the reports, in fact, I tested App Owns Data method and embedded the reports with service principal. But, we want to use User Owns data method as all our users are employees accessing our applications through AAD. Our java web portal application has already implemented AAD authentication and next task is to embed reports for the users. Since the users are already authenticated, can we simply initiate a request from portal to open reports or we have to take any additional steps from SSO integration point?
Hi @skumar73 ,
According to your statement, I think your requirement is that you don't want your customer to sign in their Power BI accounts to access the Embedded Report.
As far as I know, App owns data should be a workaround.
There are two authentication methods for app owns data: Master User or Service Principal.
For reference:Select your authentication method
I think Master User should be a better way for you, due to you want to authenticate by AAD.
Follow the steps: Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn
You can download the Power BI Developer Sample from GitHub: GitHub - microsoft/PowerBI-Developer-Samples: A collection of Power BI samples for developer use.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
14 | |
6 | |
2 | |
2 | |
2 |
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |