@Soporte Hogner - Thanks for the question and using MS Q&A platform.
Unfortunately, Azure Data Share doesn't support access a share of an azure virtual machine.
For more details, refer to Supported data stores in Azure Data Share.
To access a shared resource on an Azure virtual machine from your local network, you will need to configure the virtual machine's network settings and firewall rules to allow incoming traffic on the appropriate ports.
Here are the general steps to follow:
- Configure the virtual machine's network settings to use a static IP address. This will ensure that the IP address of the virtual machine does not change, which could cause connectivity issues.
- Open the appropriate ports in the virtual machine's firewall to allow incoming traffic. By default, Windows Firewall blocks incoming traffic on all ports except for a few common ones. You will need to open the ports that are used by the shared resource you want to access. For example, if you are accessing a shared folder using SMB, you will need to open TCP port 445.
- Create an inbound security rule in the Azure Network Security Group (NSG) to allow incoming traffic on the appropriate ports. The NSG is a virtual firewall that controls traffic to and from virtual machines in an Azure virtual network. You will need to create a rule that allows incoming traffic on the ports you opened in the virtual machine's firewall.
- Configure your local network's firewall to allow outgoing traffic on the appropriate ports. If your local network has a firewall, you will need to open the ports that are used by the shared resource you want to access.
- Use the virtual machine's static IP address or DNS name to access the shared resource from your local network. You should be able to access the shared resource using the format \IP address\shared resource or \DNS name\shared resource.
Note that the specific steps you need to follow will depend on the type of shared resource you are trying to access and the network configuration of your Azure virtual machine and local network.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.