Hello @Jean-Luc Montreuil and welcome to Microsoft Q&A.
As I understand the ask, you want to make some blobs publicly accessible.
Depending upon how far you want to go, you could set the entire container to be publicly accessible. You can do this by going to the container listing, and after selecting one or more containers, clicking "Change Access Level". See picture.
Specifies whether data in the container may be accessed publicly. By default, container data is private to the account owner. Use 'Blob' to allow public read access for blobs. Use 'Container' to allow public read and list access to the entire container.
The difference between these modes, is whether you will allow someone to "navigate" or "browse" (container mode). When set to 'Blob' mode, the user must know the exact url.
This would be the easiest way, however if there are some items in the container you want to keep private, additional action must be taken.
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
I confirmed that the Public Access was already set to "Container".
I can access individual blobs within the data lake from a browser, but I still can't connect to it using the Power BI Azure Data Lake Gen 2 connector.
I can provide the link, if needed, this is just test data.
A bit of clarification, @Jean-Luc Montreuil .
Azure Data Lake Gen2 only applies if the storage account has "Hierarchical Namespace" enabled. This is what differentiates Azure Blob Storage from Azure Data Lake Gen2.
.blob.core.windows.netindicated Azure Blob Storage, while
dfs.core.windows.netindicates Azure Data Lake Gen2.
Both use the same RBAC.
At the bottom of the document you linked, in the troubleshooting section, it mentions :
I'm not certain if or how this would relate to your situation as I am not a Power Query Online user.
I have selected "Hierarchical Namespace" when creating the storage account.
My issue is that if I use a URL like:
I get a permission denied error in Power BI and the browser. Is Azure Data Lake Gen 2 not compatible with public access?
I could understand a permission error from PowerBI, as it is a complex application and may have some quirks I am not familiar with. However, a simple web browser should not get any error message.
There is one thing that comes to mind. Being able to list the contents of a folder is fundamentally a different action than reading a blob. This difference could be the source of the error. In this case the ACLs (of the folder) should give eXecute permission to Others. The execute permission is associated with the ability to list contents of a folder. The 'Other' refers to anyone not the file/folder owner, and not in the associated group.
Sign in to comment