Mounting azure storage/fileshare to webapp service (not a container app)

pragadeesh.raju 41 Reputation points
2020-06-16T15:16:02.14+00:00

Hello,

I wanted to mount azure storage/fileshare to webapp service (not a container app) to have a persistent data storage.

is this possible?

if not, is there any possible workaround or solution to do it.

any suggestions/insights are appreciated.

Thanks.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,907 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 16,986 Reputation points MVP
    2020-06-16T18:09:10.227+00:00

    Hello @pragadeeshraju-2799,

    I tested the following az cmdlet and it worked for the purpose

     az webapp config storage-account add -g "your resource group name" --name "app service name" --storage-type AzureFiles --share-name "share name" --account-name "storage account name" --access-key "your storage account key" --mount-path "mount path in app service" --custom-id "your custom id" --verbose --debug
    

    Added verbose and debug switches to see any issues in running the cmdlet

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    1 person found this answer helpful.