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
alexabell
Frequent Visitor

RLS Test As Role Unsupported

Hello Everyone,

 

I went to test view the report as the designated role, and I'm receiving an "Unsupported" error. My report and dataset are published in the same Workspace.  Am I doing something wrong or is this an issue?

 

Thank you,test as role.JPGnot Supported.JPG

6 REPLIES 6
Anonymous
Not applicable

Hi @alexabell ,

I can successfully test as role on my power bi service , and my dataset is in import mode. Here is my result:

vxiandatmsft_0-1700038063522.png

 

 

vxiandatmsft_1-1700038063526.png

 

You can check out these restrictions.

Below is the Microsofts official link:

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.

Yes thank you I was running in to limitation

  • The Test as role/View as role feature doesn't work for DirectQuery models with single sign-on (SSO) enabled.

 

Does RLS work with composite models? I have both imported and direct queried data in my dataset. I'm applying the RLS to imported data, but when I have team members view the report, they can see all the rows and not just the limitations I imposed. The "View As Role" works in the PBI desktop as intended so I know the security was written correctly.

Anonymous
Not applicable

Hi @alexabell ,

Please tell me have you solved the problem?

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.

Anonymous
Not applicable

Hi @alexabell ,

It is possible to configure RLS for imported data in mixed mode, and below is a graph of the results I tried to test

vxiandatmsft_0-1700114060107.pngvxiandatmsft_1-1700114066476.png

 

vxiandatmsft_2-1700114073712.png

RLS is available for the viewer role in workspace.

Below is the Microsofts official link:

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.

alexabell
Frequent Visitor

Yes, I am an Admin in the workspace. Is it possible that my company administration stilll restricts my user abilities? 

Brunner_BI
Super User
Super User

Very strange, have never seen this before. Do you have full rights in the workspace?

Maybe raise a support ticket if nobody can help.

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog

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.