I am trying to access the storage account from the Azure function. But I get a 403 error when trying to retrieve the file. I don't see any problem with why I am getting this error.
Let me explain the setup.
1- Azure function app resides in east-US 2- Azure blob in South Central 3- Azure blob has the firewall enabled (I have enabled azure service can access) 4- I have also whitelisted the IP of the function app. (properties-virtual IP) 5- Azure function can create a blob client and retrieve all properties successfully. 6- If I enable the Azure Storage firewall public access, the function can download the stream.
any idea what could be the reason?
See if you have given it some time to work. It may take up to 12-13 hours for the storage account to whitelist a virtual network.
Else Function app might have problem to reach out services due to reasons below.
Otherwise
Other Work arounds