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!Get Fabric certified for FREE! Don't miss your chance! Learn more
Use Case Overview
We will use an India Education sample dataset that captures state‑wise education dropout ratios. The goal is to ensure that:
Let’s dive in.
Workspace and Lakehouse Setup
Data Structure
Step 1: Add the User to the Workspace
Now let’s add Andhra Pradesh Education Manager (SI Babu) to this workspace as Viewer role.
Step 2: Share the Lakehouse
Now let’s share this Lakehouse with him. Click on Share the enter his email id, don’t select any options under additional permissions and click on Grant. This step provides basic Lakehouse visibility without exposing data
Step 3: Enable OneLake Security (Preview)
Click on Manage One Lake security (preview) and click on Continue. Now we can start defining fine‑grained access rules.
Step 4: Create a Read‑Write Role for State Folder Access
Now click on create role
Now give meaningful name(ReadWrite) to role then select Grant option->Check the ReadWrite option->selected data and click on Browse Lakehouse
Now select Andhra Pradesh folder and click on Add data
Now Andhra Pradesh Folder is added and click on create role
Now Role successfully created and this allows the user to upload and modify files only within the Andhra Pradesh folder.
Step 5: Create a Read‑Only Role for Table Access
Click on New for adding another security role
Now give a meaningful(Read) name to role and select Grant option->Read will be selected by default->Select Data->Click on Browse Lakehouse
Now select ind-edu-dropout-ratio delta table and click on Add data
Now Table is added and click on Create role. This grants read‑only access to the consolidated table.
Step 6: Configure Row‑Level Security (RLS)
Click on ellipsis (⋯)and choose permissions-->Row Security (preview)
Now Write a SQL filter to restrict data to Andhra Pradesh only and click on Save
Row-Level-Security(RLS) is now applied successfully
Step 7: Enable Delegated Identity
Switch to the SQL Analytics Endpoint and click on security à Delegated identity à Select to User’s Identity from Delegated identity
Now select Yes, use the User’s identity. This ensures that queries run using the logged‑in user’s identity.
Step 8: Validate Row‑Level Security
Now I log in with SI babu credentials (Andhra Pradesh Education officer)
Now SI babu able to see only Andhra Pradesh Rows. Even though the table contains data for all states, RLS ensures restricted visibility.
Step 9: Validate OneLake Folder Access
Now I opened SI babu One Lake explore (login with SI babu credentials) in my local machine.
Uploaded Andhra Pradesh 2024-25 csv file
Now Navigate to SI Babu account and opened the Andhra Pradesh folder, I can able to see recently uploaded file in lakehouse. The uploaded file is visible Other state folders are not accessible
Also I can able to see that file in my parent account
Conclusion
This demonstrates how OneLake Security can be effectively used to:
By combining OneLake Security with RLS and Delegated Identity, organizations can confidently enable self‑service data access without compromising governance.
I hope you found this blog useful. If you have any questions or would like to discuss Microsoft Fabric security in more detail, feel free to connect with me on LinkedIn.
— Inturi Suparna Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.