March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have a production workspace in Fabric with a production Lakehouse.
I do not want to give users access to the whole lakehouse, but use the manage onelake data access to create groups to see different tables.
If I create a report on a semantic model using DirectLake, and give a user access to both, the users get a 'couldn't load the data for this visual' error. This can be fixed by giving them full access to the whole lakehouse.
Can someone explain the best method of using a service principal to own a lakehouse/semantic model data so that I can ensure more granular access?
Solved! Go to Solution.
Hi @bw_chec
To manage granular access to your Lakehouse and semantic model in Fabric while using DirectLake, you can leverage a service principal. Here’s a step-by-step guide to help you set this up:
Azure Active Directory:
Certificates & Secrets:
Azure Storage Account:
Power BI Service:
Create a Semantic Model:
Configure Row-Level Security (RLS):
By following these steps, you can ensure more granular access control to your Lakehouse and semantic model, while avoiding the need to give users full access to the entire Lakehouse
Hi @bw_chec
To manage granular access to your Lakehouse and semantic model in Fabric while using DirectLake, you can leverage a service principal. Here’s a step-by-step guide to help you set this up:
Azure Active Directory:
Certificates & Secrets:
Azure Storage Account:
Power BI Service:
Create a Semantic Model:
Configure Row-Level Security (RLS):
By following these steps, you can ensure more granular access control to your Lakehouse and semantic model, while avoiding the need to give users full access to the entire Lakehouse
I have a production workspace
Is that based on a F64 or better capacity SKU?
Give your users build access via the app.
I gave users access to the app, but they got a 'couldn't load the data for this visual' error. They were viewers of the workspace, the app and the semantic model.
Giving table access using a group in 'manage onelake access' didn't work either.
The only fix was to give them access as a viewer to the whole lakehouse, but this is not ideal.
I am going to create a workspace per department, with shortcuts to my central gold lakehouse of only the tables that the department's default semantic model needs. I will build an app off this.
Is there something that needs to happen here in the semantic model gateway? Do i need to create a service principal connection for every semantic model I build?
They were viewers of the workspace, the app and the semantic model.
Don't do that. Anyone who is not a developer or UAT tester should not get access to the workspace. Only share via the app.
Is there something that needs to happen here in the semantic model gateway? Do i need to create a service principal connection for every semantic model I build?
No and no. But check your company's firewall rules.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
32 | |
24 | |
13 | |
11 | |
9 |
User | Count |
---|---|
47 | |
46 | |
23 | |
12 | |
9 |