title: Is the function app (azure) able to access a folder in a remote vm?
body: <ul>
  <li><p>What is the problem?</p>
  <p>I have created a function app which creates some files under path <code>D:\home\site\wwwroot\afolder</code>. What I need is the function app to copy and paste these files to a remote server (VM in Azure) under a specific folder in the VM.</p>
  </li>
  <li><p>What I tried :</p>
  <p><a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-vnet" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-vnet</a></p>
  </li>
  </ul>
  <p>Based on the above documentation, a function app can access resources in remote network with vnet integration - it is like declaring to the function app that it will be under the same vnet as the VM and then it would hopefully be able to access the resources / folder of the remote VM. (no luck)</p>
  <p>Based on their documentation:</p>
  <blockquote>
  <p>There are some things that VNet Integration doesn't support including: Mounting a drive</p>
  </blockquote>
  <p>I am not sure if I can achieve what I need with the vnet integration after all.</p>
  <p>So the question is: can I copy &amp; paste the files created by the function app to a remote VM folder and if yes in which way?</p>