This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi community, in this time I'm trying to find a tool for debug the SM.
I actually I use the SQL server profile with "EventClass" -> Query begin. this tool is useful to try to figure out, whats actually happen with user interaction, so It's fine, but the RLS rules is not showing me.
If you try test role with sql profiler, don't show rls rules, do show?
is there another tool to see when the user login apply the RLS as traces?
thanks in advance.
Solved! Go to Solution.
I am not aware of any tool. Debugging RLS involves grabbing a non-workspace user for each of the roles and having them show you on their screen what they see .
I am not aware of any tool. Debugging RLS involves grabbing a non-workspace user for each of the roles and having them show you on their screen what they see .
So you want to apply RLS without applying RLS... That means that in your Query you need to apply the filters that would be equivalent to the ones RLS imposes on the semantic model.
There is no flag "This filter sponsored by RLS" that I am aware of.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 8 | |
| 6 |
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 18 | |
| 15 | |
| 13 |