I mounted an Azure storage account to an Azure app service using this guide: https://azure.github.io/AppService/2018/09/24/Announcing-Bring-your-own-Storage-to-App-Service.html
When I use the console command it adds a configuration and all seems to be ok. It even says "state":"ok"
, but when I take a look into my app service it seems the mount does not exist.
I uploaded a file into the file share container:
But I don't see it at the mount location:
I tried to use different file paths for the mount. Like D:\home\test
etc. It all doesn't seem to work. BTW, I'm using a windows type app service.
How can I make it work?
@Ivan Ignatiev is correct. Currently azure files mount only supports for Windows Containers Web Apps
and App Service on Linux
, you can follow this article for steps. Or you can do it via azure portal UI like below:
And for the web app not on linux or windows container, you should use azure file rest api or sdk respectively.