It sounds like the issue might stem from either network security settings, firewall configurations, or permissions related to accessing shared folders over the VPN. Here are some steps to help troubleshoot and resolve the issue:
- Firewall Configuration: Ensure that the firewall on both the Azure VM and the on-premise workstations allows file-sharing traffic. Specifically, check that ports for SMB (ports 445 and 139) and NetBIOS (ports 137 and 138) are open on the Azure VM's firewall and in the Azure Network Security Group (NSG) associated with the VM.
- Folder Sharing Permissions: Confirm that the shared folders on the Azure VM have been configured with the correct sharing and NTFS permissions. Ensure that the users or groups who need access are explicitly granted the required permissions (e.g., “Read” or “Full Control”) in both the sharing settings and in the security settings (NTFS permissions) of each shared folder.
- DNS Resolution: Ensure the workstations can resolve the hostname of the Azure VM over the VPN connection. You may need to use the VM’s IP address to access the shared folders if DNS resolution is not configured correctly.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin