Thursday, July 23, 2020

Fix 'Resource not found' error when accessing blob in azure storage account's container

There are two level of access control when accessing blob data from url of azure storage account's blob container. If either of them reject the public access of the blob, then accessing the url will fail and get an "resource not found" error.

The first level of access control is from storage account's configuration level, it affects all data access belonging to this storage account. "Allow Blob public access" must be set to enabled as below:
 

The second level access control is in specific container's access level setting. First select the containers in the container list, and then click 'Change access level" link to set the access level to allow public access as shown below


When resource not found error happens, it may come from either of the two access configuration.