windowsazureazure-storageazure-app-service-envrmntmount-point

Azure storage account is not mounted but says it is


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.

enter image description here

I uploaded a file into the file share container:

enter image description here

But I don't see it at the mount location:

enter image description here

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?


Solution

  • @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:

    enter image description here

    And for the web app not on linux or windows container, you should use azure file rest api or sdk respectively.