Forum Discussion
GuestUser
Helper V
7 years agoRoles and Row Level Security
Hi, We have Power BI Rpeort Server (May 2019 ) on-prem ediion installed We have created reports connecting to SSAS Tabular Mode (Live Connection) We have implemented Custom Authentication...
d_gosbell
Super User
7 years ago
GuestUser wrote:
and if it is to be done on SSAS , how can username (custom authentication) be mapped ?
I'm sorry, but I don't believe this is possible.
In your scenario with live connection RLS would have to be implemented in SSAS, but SSAS only supports Windows Auth. It does have a CustomData() function which allows you to read the CustomData parameter off the connection string or the EffectiveUserName parameter, but only RDL based paginated reports allow you to use dynamic connection strings where you could inject these parameters. PBIX files use Power Query connectors and they do not allow for the injection of custom connection string parameters.