Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Good day,
I have connected a datamart within powerbi service to an Azure SQL source. The data is transformed into Facts and Dimensions and then RLS is applied to the star model. Getting feedback and testing with users I am able to see that the RLS is working. But now when I want to view what a user sees (from a dashboard perspective), I usually go to the security settings of the semantic and then row-level security group and select "Test role as".
The error I get is as below:
I have tried different connection types, but I don't understand how exactly this needs to be configured to enable this functionality again. It was working on an older datamart with the same credentionals and this functionality works.
Thanks in advance for any advice or assitance on the matter.
Solved! Go to Solution.
Hi @Mike_007 ,
The Test as role/View as role feature doesn't work for DirectQuery models with single sign-on (SSO) enabled.
Please refer this -
I hope it will be helpful.
Thanks,
Sai Teja
Hi @Mike_007 ,
Were you able to solve this ? I need to do the similar thing.
Is there any workaround we can do to Test the RLS on Power BI service, if Direct Query is required.
Thanks,
Shivani Tyagi
Hi @Mike_007 ,
The Test as role/View as role feature doesn't work for DirectQuery models with single sign-on (SSO) enabled.
Please refer this -
I hope it will be helpful.
Thanks,
Sai Teja
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 30 | |
| 27 | |
| 25 |