'Getting RequestFailedException: Public access is not permitted on this storage account when accessing Blob Storage in Azure
Scenario:
I have an Azure Web App that is trying to access a Blob Storage container, and I get the following error: RequestFailedException: Public access is not permitted on this storage account.
I am trying to use Managed Identities for the App to authenticate against the Blob Storage without having to make it public.
They are both in the same VPN, in the same Region
Any idea where it could be going wrong?
Thanks!
App Service Plan: S1
Some environment variables
There is the System Assigned Managed Id
The Azure Role Assignments for the Managed Id:
Finally the Code:
And some of the Blob Storage Configuration
They are both in the same VNET
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|