Hey everyone,
I'm hoping to get some answers and clarification around RLS in an Analysis Services model. So far, all of the documentation I've found talks about what to do when running SSAS on-prem - mapping the RLS role to users within the domain.
How does this work when using Azure Analysis Services?
I have an Analysis Services model that I've built and deployed using Visual Studio. I went ahead and created roles based on the USERNAME() function, hoping to capture the Power BI Pro username and filtering on that. Unfortunately, in both Power BI Desktop and the Power BI Web Service, I'm not seeing the RLS filters apply based on the currently logged-in user.
I had originally built out my reports by querying the SQL databases directly, and was able to handle all of the RLS within Power BI Desktop. This made use of the USERNAME() function, and everything went as expected. When I moved to the Analysis Services (Live) model, I figured I'd be able to do the same thing.
So - is it possible to have RLS filter based on the Azure AD username (same as Office 365 username) in my case?
Thanks!