简体   繁体   中英

Access to Azure File Storage via VNet

I faced with follow problem hope I can find the way for solving with your help. I created follow Azure resources:

  1. WebApp Service (Asp.Net Core web application)
  2. FileStorage
  3. VirtualNetwork

All resources created in one resources group. I trying to upload file from my WebApp to File storage via VNet (I need to secure storage so it must be unaccessable from outside internet).

Virtual Network have subnet, wich have setup a Microsoft.Storage - Service endpoints. This sub net is included In Storage firewall settings.

For work with Azure storage I use Microsoft.WindowsAzure.Storage package. When I trying to get access to storage from webapp I get 403 error. For access I use 'primary file service endpoint' - https://myaccount.file.core.windows.net/

What I have missed ?

Thnx for any advice !

Azure File shares can't be accessed from Azure App Service web apps. Refer this feedback item where the feature was declined.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM