I am trying to read the data from azure VM data disk via app service, both are in the same Vnet and i have already configured the Vnet integration.
But I dont have any idea on how to access the vm from app service
I am trying to read the data from azure VM data disk via app service, both are in the same Vnet and i have already configured the Vnet integration.
But I dont have any idea on how to access the vm from app service
Copyright © 2021 Jogjafile Inc.
Due to the App Service sandbox explicitly does not allow access to the ports necessary for SMB protocol (137/138/139/445), I am afraid we can not use network share in the app service. Check this article link that mentioned it under Restricted Outgoing Ports: https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox.
Alternatively, you can use Azure File Share and access using REST API.
You also could consider storing your data on Azure storage then either attaching Azure Storage to a Linux container App Service or attaching Azure Storage Files as a network share to a windows container in App Service.