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.
Hi all,
first post so deep breath!
We are running a module as SaaS in Azure and I've designed a Power BI report and published it to a test workspace, then provided a walkthrough for one of our customers before I drop the work into the team to prep it for production. The customer raised an understandable question, can we restrict visibility of the data to certain roles? As an overview, we use Identity Server 4, which supports whatever authenticator the customer wants to use, and they are capable of creating any number of "roles" that are needed. As the SaaS vendor, I don't know what they are, nor do I really want to care, they need to be able to create new roles and say these roles get to see data with codes 123, 456 & 789, the codes form a column in the report.
My question now is one of how do I dynamically support them creating roles in whatever their authenticator is and a set of codes that role has visibility to and then apply that role to the report, is there a method of passing the list of codes in from the page where the report is embedded and have RLS say (DAX like) Where code in (<array of codes>)? Or am I trying to explore the limit of what RLS can do?
<edit fix some layout & spelling>
Cheers
John
Solved! Go to Solution.
Hi @JohnFraser ,
For your requirements, dynamic RLS can be satisfied, first when creating a role in a Power BI report, write DAX as the user's username(), so that each user can find the corresponding user based on their own UPN, and then impose restrictions on it.
Below is the official link could help you:
Row-level security (RLS) with Power BI - Power BI | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JohnFraser ,
For your requirements, dynamic RLS can be satisfied, first when creating a role in a Power BI report, write DAX as the user's username(), so that each user can find the corresponding user based on their own UPN, and then impose restrictions on it.
Below is the official link could help you:
Row-level security (RLS) with Power BI - Power BI | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
12 | |
7 | |
7 | |
2 | |
2 |