Hello Matthew Fleming,
Greetings! Welcome to Microsoft Q&A Platform.
I understand that you are facing issues in reading the container, which is enabled for anonymous read access.
1.Check whether you have enabled it on storage account level or container level.
It is not recommended to grant anonymous read access to blob data as it presents a security risk. However, if you still want to grant anonymous read access to blob data, you need to understand that the default configuration for an Azure Resource Manager storage account prohibits public access to blob data. If you have enabled anonymous read access to blob data, it may be reset to "False" automatically due to security reasons.
By default, anonymous access to your blob data is always prohibited. The default configuration for an Azure Resource Manager storage account prohibits users from configuring anonymous access to containers and blobs in a storage account. This default configuration disallows all anonymous access to an Azure Resource Manager storage account, regardless of the access setting for an individual container. When anonymous access for the storage account is disallowed, Azure Storage rejects all anonymous read requests against blob data. Users can't later configure anonymous access for containers in that account. Any containers that have already been configured for anonymous access will no longer accept anonymous requests.
2.If you are unable to access blob data despite having anonymous access enabled, it might be due to incorrectly targeting the container URL instead of the blob URL. Additionally, the blob could be in an archived state. Ensure you are pointing directly to the blob URL and rehydrate any archived blobs before attempting access. By default, anonymous access is not permitted unless explicitly configured. When enabled, it allows clients to read data without authorization, which can pose a security risk. Ensure anonymous access is only enabled if absolutely necessary.
To rehydrate an archived blob:
- Navigate to your Azure Storage account in the Azure portal.
- Find the archived blob you want to rehydrate.
- Change the access tier of the blob from "Archive" to "Hot" or "Cool".
For checking which storage accounts and containers have anonymous access enabled, you can refer to the following resources:
3.Make sure that you provide sufficient access on the network level.
https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.