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
Anonymous
Not applicable

Seeking solutions for RLS on an embedded report using a live connection

I'd like to pick the community's brain on solutions for RLS when a report is embedded. 

 

Currently, we use RLS on Power BI using an import connection to an analysis services cube. Our web app passes the identifier to the report & users only see what they should. The issue is that import is a difficult model to maintain when you're working with a lot of data. I'd like to move toward a live conneciton, though I know it is not supported. 

 

Would it be possible to setup RLS on the Analysis Services side, create a report using a live connection, publish & embed this to use RLS?

 

Would it be possible to use parameters in any way to mimic RLS using a live connection?

 

Thank you in advance!

3 REPLIES 3
luisrh
Responsive Resident
Responsive Resident

For the longest time there has been a solution where you contain the security for dimensions on the model and then filter out based on the user name.   This solution works well,  but in scenarios where you have multiple hops  (client to server,  to yet another server),  the authentication is dropped unless you are using Kerberos.

Using CUSTOMDATA is an approach that will work across the board.  It requires you maintain a 'bridge dimension' in your SSAS model  - which is simply a key value pair of user and entity rights...

This is a good post with an explanation on how to go about it..

https://www.kasperonbi.com/using-customdata-and-ssas-with-power-bi-embedded/

 

If you think this answered your question mark it as solved so others can easily find in search.

Anonymous
Not applicable

Our customers accessing the report are not a part of our active directory. Would your recommended approaches work in this scenario?

luisrh
Responsive Resident
Responsive Resident

Yes it would.  As this is where you would set the CUSTOMDATA with any user name you pass.

 

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.

Top Solution Authors