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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Mike_007
Frequent Visitor

"Test a role as" functionality not working on my datamart's semantic model

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:

Mike_007_0-1725622488515.png

 

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.

 

1 ACCEPTED SOLUTION
SaiTejaTalasila
Super User
Super User

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 -

https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security#considerations-an...

 

I hope it will be helpful.

 

Thanks,

Sai Teja 

View solution in original post

2 REPLIES 2
ShivaniTyagi01
Frequent Visitor

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

SaiTejaTalasila
Super User
Super User

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 -

https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security#considerations-an...

 

I hope it will be helpful.

 

Thanks,

Sai Teja 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (284)