Forum Discussion
AB_MN
Feb 15, 2023Copper Contributor
File Share with private endpoint
I am trying to mount a file share, using a private endpoint, on my local machine and am getting"Access Denied" errors. I am also unable to access it via the Portal when I have the firewall set to bl...
LukeJMadden
Mar 29, 2023Brass Contributor
Hey AB_MN,
Building on infocloud 's response:
In addition to the steps provided by infocloud, another possible reason for the issue could be related to the Azure Storage firewall settings. Since the file share is accessed through a private endpoint, the firewall rules need to be updated to allow traffic from the VNet of the private endpoint.
To check if this is the case, you can go to the Azure Storage account settings and navigate to the "Firewalls and virtual networks" section. From there, ensure that the selected option is "Selected networks", and that the VNet of the private endpoint is added to the allowed networks list. Also, make sure that the "Allow trusted Microsoft services to access this storage account" option is enabled.
By following these steps, you should be able to mount the file share with a private endpoint on your local machine without any "Access Denied" errors.
Cheers,
Luke
Building on infocloud 's response:
In addition to the steps provided by infocloud, another possible reason for the issue could be related to the Azure Storage firewall settings. Since the file share is accessed through a private endpoint, the firewall rules need to be updated to allow traffic from the VNet of the private endpoint.
To check if this is the case, you can go to the Azure Storage account settings and navigate to the "Firewalls and virtual networks" section. From there, ensure that the selected option is "Selected networks", and that the VNet of the private endpoint is added to the allowed networks list. Also, make sure that the "Allow trusted Microsoft services to access this storage account" option is enabled.
By following these steps, you should be able to mount the file share with a private endpoint on your local machine without any "Access Denied" errors.
Cheers,
Luke