Mount Azure File Share directory in Mac OS

Shaheer MP 1 Reputation point
2022-10-25T17:06:26.847+00:00

I couldn’t locate useful information on how to access azure file share from my Mac without storage explorer. I want to mount fileshare locally.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,170 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,921 Reputation points
    2022-10-25T17:17:20.997+00:00

    Hi ShaheerMp,

    Please check this detailed steps to mount FS on MacOS and some basic pre-reqs is required: storage-how-to-use-files-mac

    Storage account name: To mount an Azure file share, you'll need the name of the storage account.

    Storage account key: To mount an Azure file share, you'll need the primary (or secondary) storage key. SAS keys are not currently supported for mounting.

    Ensure port 445 is open: SMB communicates over TCP port 445. On your client machine (the Mac), check to make sure your firewall isn't blocking TCP port 445. If your organization or ISP is blocking port 445, you may need to set up a VPN from on-premises to your Azure storage account with Azure Files exposed on your internal network using private endpoints, so that the traffic will go through a secure tunnel as opposed to over the internet. For more information, see Networking considerations for direct Azure file share access. To see the summary of ISPs that allow or disallow access from port 445, go to TechNet.
    Hope this helps.
    JS

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. Sumarigo-MSFT 43,801 Reputation points Microsoft Employee
    2022-10-26T10:45:30.567+00:00

    @Shaheer MP If port 445 is blocked you may refer to the suggestion mentioned in this articles. Where you get lot of option
    https://learn.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-windows-file-connection-problems?tabs=azure-portal

    This article provides detailed information How to Configure a Site-to-Site VPN for use with Azure Files

    Configure point-to-site VPN clients - certificate authentication - macOS and iOS

    If you have any additional questions or need further clarification, please let me know.

    ----------

    Please do not forget to 254238-accept-answer.png and 254239-image.pngwherever the information provided helps you, this can be beneficial to other community members.