Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Data Factory to Azure Blob Storage Permissions

I'm connecting ADF to blob storage v2 using a managed identity following this doc: Doc1

When it comes to test the connection with my first dataset, I am successful when I test the connection to the linkedservice. When I try by the filepath, and enter "testfolder" (which exists in the blob) it fails returning a generic forbidden error displayed at the end of this post. However, when I opt to "browse" the folders in the dataset portal, the folder "testfolder" does show up. But when I select it, it will not show me anything within that folder.

The Data Factory managed instance is given the role of Contributor, granting full access to manage all resources. Is there some other hidden issue or possible way to narrow down the issue? My instinct is that this is something within the blob container since I can view the containers, but not their contents.

Error message:

Error Message1

like image 528
Robert Riley Avatar asked Sep 17 '25 12:09

Robert Riley


1 Answers

It seems that you don't give the role of azure blob storage. Please fellow this:

1.click IAM in azure blob storage,navigate to Role assignments and add role assignment. enter image description here

2.choose role according your need and select your data factory. enter image description here

enter image description here

3.A few minute later,you can retry to choose file path.

Hope this can help you.

like image 105
Steve Zhao Avatar answered Sep 20 '25 06:09

Steve Zhao