Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Test RLS in Power BI services - error

When I test RLS from PBI services. See picture below, it fails when I test with a special user. It should then be juha04@xxxxxxxxx.no but change to my e-mail address. It does not happen with the other test users. What happens to someone who has an idea?

 

GeirEBerge_1-1674731376381.png

 

 

GeirEBerge_0-1674731251490.png

 

2 ACCEPTED SOLUTIONS
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

the test role on power bi service doesnt change your user, it only changes your role behavior to that role parameters set on RLS, for testing as a specific user you need to do the test on power bi desktop that have the option to specify witch user you want to test as. on service wont let you test by specific user but as a role as a whole. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

If you see my question is that related to power bi service/portal. Yes I can test from Client if the report and modell is in same solution. But my solution is based on a composit modell then is not possible. My problem was i dev then with one user it chang back to my user, but not with other testuser. But in test it works. I dont understand what is wrong her. Your answer is not that i want, but i can accept the solution so we can close it.. 

View solution in original post

3 REPLIES 3
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

the test role on power bi service doesnt change your user, it only changes your role behavior to that role parameters set on RLS, for testing as a specific user you need to do the test on power bi desktop that have the option to specify witch user you want to test as. on service wont let you test by specific user but as a role as a whole. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Anonymous
Not applicable

If you see my question is that related to power bi service/portal. Yes I can test from Client if the report and modell is in same solution. But my solution is based on a composit modell then is not possible. My problem was i dev then with one user it chang back to my user, but not with other testuser. But in test it works. I dont understand what is wrong her. Your answer is not that i want, but i can accept the solution so we can close it.. 

Anonymous
Not applicable

It seem thatyou dont have understand my question. Of course I test in client, but when I have a composit modell it is not possible to do that 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.