Reputation: 19
I am trying to mount an Azure file share on Azure app service. The app service is Windows based (not a container) and it is running .NET.
I have checked the network connectivity, the app is vnet integrated and it is added in allowed entries on the storage account. I have also tried to reach the storage account with tcpping and it's working as expected. I mounted the file share using Azure portal. Running az webapp config storage-account list' lists the fileshare, however the state is "NotValidated".
Upvotes: 1
Views: 851
Reputation: 19
Ok, so final update. It seems that if the app service is vnet integrated, and you have access restrictions on the Storage account, it is not just enough to add the vnet to the whitelist on the Storage account. Firstly, you need to add a Storage account service endpoint in the subnet where your app service is. Then you need to add the following app setting on your app service: WEBSITE_CONTENTOVERVNET = 1
Upvotes: 0