The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Has anyone else noticed the Blue bar that popped up on the top of the Power BI web service is missing when you are trying to view a dashboard/report as another user? Specifically: Under Datasets --> Security --> Row Level Security -->Test as Role. Has this functionally been intentionally and permanently disabled?
In the past, you would see the dashboard/report with a blue bar that identified you were viewing the page "as user _____" and you could switch to an alternate user in that view as well. This was a critical way to confirm the RLS rules set in place were operational.
For the record: I tried using the "view as roles" option for RLS rules in the Power BI Desktop client. I've tried using that version and it doesn't seem to work when trying to view as a specific user name.
Solved! Go to Solution.
@PatrickNealis @swise001 @tsf @Anonymous ,
This is a known issue that engineers are working on a fix, please keep an eye on the update time in Power BI support site.
Regards,
Lydia
Now that RLS is in the Desktop, how does one specify what ROLE a user gets assigned to in a Dataset? There used to be an optiion on the Dataset called ROLES where by you were given access to the Roles you defined in the model (via Power BI Desktop). All that is there now is a SECURITY option that tells me that RLS is moved to the Desktop.
How do I assign Users to Roles in Power BI web service?
Thanks.
Proud to be a Super User! | |
@PatrickNealis @swise001 @tsf @Anonymous ,
This is a known issue that engineers are working on a fix, please keep an eye on the update time in Power BI support site.
Regards,
Lydia
What is taking so long?
So, couple of things.
1) That looks like the PBI workspace manager, not a report server.
2) In the report server, there is no linkage to manage datasets.
Hi, I am not finding any information on the Power BI Support site link you provided. Is there a timeline when the Test As Role functionality will be restored?
Thanks,
Josh
Lydia,
That is great news! This was a very useful feature in the online client, glad to see it will be returning. I'll keep my eye out and mark this topic as resolved when it's republished.
Looks like this is fixed now 🙂
Is this working for everyone ?
I am able to View Reports as different Roles, but as soon as I move to Any Dashboard, The Blue bar disappears.
I just sumbitted feedback on ideas.powerbi.com requesting that this feature be restored.
Thanks,
Alex
You are correct that the "Test as Role" has been removed from the Power BI Service.
If you want to test the settings you can do this in the Power BI Desktop, with the "View Role As"
The thing that you have to know is that instead of using the USERNAME() DAX function in Power BI Desktop you have to hardcode this with the user's UPN (User Principal Name) that you want to test it with. When you do it in this way you can see if you are getting the desired output.
I do have a blog post explaining some of the caveat's as well as a good link to Kasper De Jonge's post which has an overview of RLS (Row Level Security)
It was not good to remove this functionality. It was a useful feature.
@GilbertQ Do you know if this was purposely removed or is its absence an accident or glitch? This feature was very helpful when I needed to mirror credentials from the service - without needing to open the PBI desktop file and refresh it against updated user credentials.
Hi @swise001
As far as I am aware it was removed so that the functionality would exist within Power BI Desktop and be able to test it there, before uploading it to the Power BI Service to ensure that it is working as expected.
Hello,
Testing is not effective in Power BI Desktop since the roles are applied in the Power BI service and users can be members of more than one role. How can you verify that the proper members are seeing the appropriate level of detail in the reports if you cannot view as an individual user, especially if those roles are based off of Username() DAX expressions?
This was an incredibly important feature and frankly I am shocked that it was deprecated.
Do the browser-based reports still use the USERNAME() value when applying security? From my experience, it seems like testing security in PBI Desktop requires the use of the NT ID, whereas in the browser applies security using the UPN (email address).
Hi @tsf
You are indeed correct that it can use the NT User ID, it does depend on how you log into your PC. Generally most of them would be NT User ID, which would change to the UPN when in the Power BI Service
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
54 | |
26 | |
14 | |
14 | |
12 |
User | Count |
---|---|
103 | |
37 | |
25 | |
23 | |
20 |