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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PC2790
Community Champion
Community Champion

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

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
Super User

@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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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