cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PC2790
Solution Sage
Solution Sage

Avoiding repetitive signing in Power BI application embedded in another Java based application

Hello Power BI champions,

I have this scenario where I have embedded Power BI application on another java based Data Management application to view the statistics and the below method was followed for the embedding:

1) Publish power bi report onto service using Pro account and Premium capacity.

2) Created an embed link from the service

3) Used that link in the java application's config to view the report as embedded.

Now my requirement is that I want the end users don't have to sign in Power BI if they have successfully logged in the main application.

It uses SAML and tokens for the authentication pupose. and is it possible to pass the same token in Power BI to prevent for logging in again
1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @PC2790 ,

 

As far as I know, when you use app owns data(service principal), you can keep the rls and don't need to sign in with AAD account again. For more details, please refer to https://docs.perspectiveilm.com/EnterpriseBIPortal/embedding/power-bi/app-owns-data/ and https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

5 REPLIES 5
v-deddai1-msft
Community Support
Community Support

Hi @PC2790 ,

 

As far as I know, when you use app owns data(service principal), you can keep the rls and don't need to sign in with AAD account again. For more details, please refer to https://docs.perspectiveilm.com/EnterpriseBIPortal/embedding/power-bi/app-owns-data/ and https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

v-deddai1-msft
Community Support
Community Support

Hi @PC2790 ,

 

Would you please refer to https://docs.microsoft.com/en-gb/previous-versions/azure/power-bi-workspace-collections/get-started ?  Power BI Workspace Collections work with existing applications without needing redesign or changing the way users sign in.

 

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

 

Best Regards,

Dedmon Dai

Thanks for responding.

I am stil not sure if Power Bi Workspace collection wil be the solution to it.

I thought it was an old way of approaching Power Bi embedded.

 

I just want to know if there is a provision of avoiding signing in Power BI service in the report embedded in a web application, though keeping the RLS intact?

amitchandak
Super User IV
Super User IV

@PC2790 , Are you trying to create embedded analytics. Please refer to this. But your code might have to make sure token authentication renewed whenever needed

https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Thanks @amitchandak , however this is not something that I am looking for.

I just want tha if the user is logging in to the java applaication ones, he doesn't have to sign in to the Power BI report embedded there again 

Is there any way to achieve it?

 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors