Hi Team,
Little Background:
We have Azure Site- 2-Site VPN connectivity (Classic V1) and it is working well with our Azure Cloud Service (Classic V1). Now we received a requirement to connect our Azure Web App (ARM V2) with this network and user some of the resources from the Azure VPN Network.
For that, We have enhanced our Azure VPN and enabled Point-2-Site Connectivity. Now, We come back to Azure Web App tab and there we have Networking Option, we enable Point-2-Site and select our this network. after few minutes, we got success status and we can see all green with enough details.
Real Issue:
Now, I want to access one of UNC Path under that network we have through our Azure Web App. But it is not working. I am getting an error message "Access to the path '\\<vmname>\testing' is denied. However I have tested the code (C#) and it's working well in local computer.
This issue I don't think is related to access or permission. Because though I give any name in place of <vmname> whether that VM is really exists in the network or not, It gives me the same error message. So, Its not specific to permission.
My Observation:
Virtual Network has one domain and that domain username and password different and when you are accessing anything from IIS to some other local, I suppose Impersonate and Identity may come in picture.
But If that is the real issue, I should get some different error message if I type ABCD as my <vmname> which doesn't exists in the Virtual Network. Isn't it? But I am getting same access denied message.
Troubleshooting:
Using Console Tab under Azure Web App blade, I tried to check nameresolver and dnsping exe and both are able to access my this vm where I have shared the folder. So, from Azure Web App VM they are able to access the Virtual Network VM.
Some References:
Regards, Brijesh Shah