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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
This setting is currently blocking executing a notebook with a service principal with the notebook then accessing the OneLake to read in a delta table. We want to leave this setting disabled and have notebooks executed via service principal rather than users. Anyone know if there is a way to get this scenario to work?
(a) Tenant Setting - Allow apps running outside of Fabric to access data via OneLake is disabled ( Config below works fine if this setting is chnaged to enabled )
(b) I have a data pipeline which is owned by a service principal
(c) It calls a notebook and when submitted it runs the notebook as the service principal
(d) The notebook then tries to load from a delta table using
(e) The service principal as an admin on the workspace
(f) We get error:
Hi @garddolau,
Thanks for reaching out to the Microsoft fabric community forum.
Based on the behavior you're describing, the issue is related to how Fabric handles authentication contexts when accessing OneLake from a notebook executed via a service principal with the key tenant setting currently disabled.
Even though your notebook is running inside Fabric and the service principal has admin access to the workspace, when the setting "Allow apps running outside of Fabric to access data via OneLake" is disabled, Fabric enforces stricter access control to OneLake storage endpoints wven for service principals operating within Fabric boundaries.
This means the service principal needs to authenticate as a “Fabric identity” for OneLake access to work. But with the tenant setting disabled, only identities marked explicitly as Fabric users or runtime identities (like managed identities) are allowed to access OneLake endpoints internally.
To allow this scenario without enabling the tenant setting, you must assign the service principal the “Fabric runtime” identity permissions. You can proceed by:
* Ensuring the service principal has the required OneLake permissions. Fpor this go to the relevant Lakehouse storage account via Microsoft Purview or Azure portal. Then assign “Storage Blob Data Contributor” role to the service principal at the right scope (container or workspace level). Also assign Workspace permissions to the service principal (which you've already done).
* Also ensure the service principal is enabled as a Fabric runtime identity. Go to Fabric Admin Portal -> Access control. Under Runtime Identities, ensure your service principal is explicitly registered here. This step is critical because, with the tenant setting disabled, Fabric treats all other identities as external unless they are in this list.
* If necessary, configure a Lakehouse-level ACL for the service principal. Within the Fabric UI, open the Lakehouse, then go to Manage Access -> Add your service principal and assign the Viewer or Contributor role.
Once these steps are complete, your service principal should be able to read the Delta table from OneLake without needing to enable the tenant setting.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
Hi, thanks for your prompt reply. I can;t find the option for Go to Fabric Admin Portal -> Access control. Under Runtime Identities
Is it under fabric tenant settings or somewhere else?
Thanks,
Darren
Hi @garddolau,
The “Runtime Identities” setting is not listed under the same section shown in the below image (which is focused on Developer and Admin API settings).
The “Runtime Identities” configuration is managed under Microsoft Fabric Admin Portal → Access Control → Runtime Identities.
Best Regards,
Hammad.
Hi Hammad, I can't still find the Access Control section. Can you provide a screen shot of where it is please?
Thanks
Hi @garddolau,
As we went through the steps to access 'Runtime Configuration", we were also unable to find the Access Control section.
As none of the above help, at this point it may be worth opening a support ticket with Microsoft. You can reach out to Microsoft Support by raising a ticket with Microsoft Support. Please refer below link on how to raise a contact support or support ticket.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Best Regards,
Hammad.
Hi @garddolau,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm, has your issue been resolved or were you able to raise a support ticket with Microsoft Fabric Support?
If yes, you are welcome to share your workaround so that other users can benefit as well. And if you're still looking for guidance, feel free to give us an update, we’re here for you.
Best Regards,
Hammad.
one of these?
Thanks, the service principal is already a member of thoes and it works find for all other Fabric activities just not access on OneLake within the notebook
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Fabric update to learn about new features.
User | Count |
---|---|
54 | |
36 | |
21 | |
14 | |
8 |