Forum Discussion

Viswanadh0110's avatar
Viswanadh0110
Frequent Visitor
1 year ago
Solved

RLS not wokring In OneLake security

We've implemented Row-Level Security (RLS) in Fabric, and while the Column-Level Security (CLS) is working as expected, RLS is not functioning properly and is throwing errors. Despite configuring the...
  • burakkaragoz's avatar
    burakkaragoz
    1 year ago

    if you're using OneLake security directly, then yeah, defining access roles like eastregion makes sense.

    the reason I mentioned USERPRINCIPALNAME() is mostly for cases where RLS is applied via views or SQL logic, not just OneLake-level security. sometimes the identity resolution behaves differently depending on how the access is evaluated—especially if you're mixing workspace roles with SQL-based filters.

    but if you're managing it all through OneLake access control and it's working as expected, then you're probably good 👍 just make sure the role assignments are syncing properly and the column names match exactly in your views or queries.

    let us know how it goes