Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Subha45
Regular Visitor

Writing data into a ADLS Gen 2 container directly from fabric notebook

Hi,

 

I have a scenario where I need to write a pyspark dataframe into a storage account container directly.  The fabric has Storage Blob Contributor permission over the container , however I am still getting an error as 403 as for no permissions to write.

Any hint as what i am missing here?

 

 

 

1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @Subha45,

Even with RBAC roles like Storage Blob Contributor, ADLS Gen2 also requires filesystem-level ACLs.

  • Go to the Data Lake container in Azure Portal. Check the Access Control List (ACL) on the folder you're writing to, Ensure the Managed Identity of the Fabric workspace has rw (read/write) permissions.
  • Sometimes, trying a read operation first can help confirm whether it's a write-specific permission issue.
  • If you're unable to modify ACLs or confirm the identity:

Continue using the Lakehouse shortcut, which handles permissions internally in Microsoft Fabric for secure and seamless access.

 

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

View solution in original post

6 REPLIES 6
v-prasare
Community Support
Community Support

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

v-prasare
Community Support
Community Support

Hi @Subha45,

Even with RBAC roles like Storage Blob Contributor, ADLS Gen2 also requires filesystem-level ACLs.

  • Go to the Data Lake container in Azure Portal. Check the Access Control List (ACL) on the folder you're writing to, Ensure the Managed Identity of the Fabric workspace has rw (read/write) permissions.
  • Sometimes, trying a read operation first can help confirm whether it's a write-specific permission issue.
  • If you're unable to modify ACLs or confirm the identity:

Continue using the Lakehouse shortcut, which handles permissions internally in Microsoft Fabric for secure and seamless access.

 

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

v-prasare
Community Support
Community Support

Hi @Subha45,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.


@BhaveshPatel ,Thanks for your prompt response

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

Hi,

Thanks!

However, my query still remains unresolved.

 

Subha45
Regular Visitor

Hi @BhaveshPatel 

 

Thanks for the reply but due to some client security it's difficult for me to get the screenshots , however I can elaborate the situation. 

I am trying to save a dataframe from notebook into a storage container folder as a file.

It's working saved if I have a shortcut to the location and uses the abfss path.

While when I am directly addressing the storage container folder using abfss path without any shortcut it's throwing the error as 403 : The request doesn't have the permission as an error. 

So was wondering if we can only write into a ADLS gen 2 location only using the lakehouse shortcut reference through notebook or is there a way to write into the location directly 

BhaveshPatel
Community Champion
Community Champion

Hi @Subha45 

 

Could you please elaborate on above issue. Show some examples with screenshot.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors