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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
johnbasha33
Super User
Super User

RLS not working in Power bi service but fine in desktop

HI,

 

My Main fact table i have connected to Azure databricks direct query.

and users table i have created with in desktop for now as table. 

 

when i joined both first of all Apply security filter in both directions is greyed out, i am not sure why it is greyed out, if i change the filter to both its appearing but unable to turn on the apply security, however, i just used it as is.  my RLS is working fine.

 

but when i publish the same and make sure users are ghranted access to semantic model and they are added to role in security section.
when i am tetsing the RLS in service i am getting below error, can you explain me this behaviour and cause of the issue here? 

johnbasha33_1-1714632800045.png

 

johnbasha33_2-1714632813077.png

 

johnbasha33_0-1714632715146.png


@amitchandak  @Arul @lbendlin @mwegener @GilbertQ @ibarrau  

1 ACCEPTED SOLUTION

Security option will be enabled for both directional relationship to allow applying RLS in both the direction,
As per screenshot shared as you have one to many relationship this is not applicable thus grayed out.
You issue is related to the accessing Azure resources only


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

5 REPLIES 5
johnbasha33
Super User
Super User

@AnkitKukreja @arvindsingh802  thank you for your time answering me. 

 

what about the apply security is greyed out? can you shed some light on that? that is causing the issue in service and RLS is not working. 

Security option will be enabled for both directional relationship to allow applying RLS in both the direction,
As per screenshot shared as you have one to many relationship this is not applicable thus grayed out.
You issue is related to the accessing Azure resources only


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Hi! @johnbasha33 

 

That is tough to suggest without taking look at the model and all the relevant details, I would suggest you to give a read to this doc again and see if you've missed something.
https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
AnkitKukreja
Super User
Super User

Hi @johnbasha33 

 

401 error generally points out to unauthorized access, have a look at Arvind's suggestion.

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
arvindsingh802
Super User
Super User

It seems IP filterring has been confirgured in your Azure env, please connect with your Azure Admin to add Power BI IP ranges to the access list


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors