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
TheOckieMofo
Resolver II
Resolver II

Row Level Security (RLS) SSAS Live Connection

Power BI Nation,

 

I have created a SSAS Tabular cube (SQL Server '16) and am building a .pbix file via a live connection. Everything works fine except for the security once I publish file to my app workspace on the PBI service. I have an enterprise gateway set up and the end users of the report have been added to security on the SSAS cube.

 

So what's the problem? The end users cannot view the content of the app unless if map their user names to that datasource in the gateway admin portal. So basically, every end user I want to distribute this report to, I have to not only add them to security on the SSAS cube, but I also have to map their username in the service? This seems like a huge hassle and an administrative nightmare. What am I doing wrong? Or is this how the process is designed? I would imagine the intent from Microsoft is to only have to add users to security in the underlying SSAS cube and not have to map their user names?

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @TheOckieMofo,

 

>>The end users cannot view the content of the app unless if map their user names to that datasource in the gateway admin portal. 

If these users mean external users, you can take a look at following link about add external user as guest to apply RLS effect:

Distribute Power BI content to external guest users with Azure AD B2B

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

No, these are users within my company on my domain. However, this issue is that Power BI passes an email address to SSAS; however, SSAS tabular only lets you set up security by inputing the users User Principal Name (I hope that's the correct terminology). The UPN in our company looks like Domain\username. It does not look like an email address at all. So that's the problem, SSAS doesn't know what to do with the email address it gets from Power BI.

You can then map usernames when you configure the data source on the gateway in the Power BI service.

Adam Saxton aka Guy in a Cube has a video with regards to this as well as it is detailed in the Microsoft docs




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi there, if you set it in the Map User Names to "CustomData" and ensure that you have mapped your RLS via the UPN that would then work.

I have currently done that on my SSAS 2017 instance which makes it a lot easier in terms of managing the users.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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
Top Kudoed Authors