4

I want to mount my File Share to a folder on my MBP called /Users/me/mount-folder. I've read the Windows documentation as well as the Linux documentation.

I've been https://www.experts-exchange.com/questions/28965714/Can-a-Mac-connect-to-an-Azure-file-share.html, but I do not want to use the storage explorer (I need my Python scripts to access files on the File Share).

I've tried:

mount_smbfs -d 0777 -f 0777 //[storagename]:[key]@[storagename].file.core.windows.net/[sharedname]  [Mount point in Mac filesystem]

and I then get asked for a password, but I do not know what password it wants... I did copy & paste my Azure file share key (exactly, including the ==), but it just tells me that the authentication has failed.

All the posts I've read seem to be old, from around 2015...

pookie
  • 151
  • 1
  • 7
  • This is finally supported. Here's the official walk-through from Microsoft on how to do it: https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-mac – Paulo Gomes Dec 31 '17 at 17:44

2 Answers2

3

This should work today, as Microsoft added support for mounting Azure file shares in macOS.

You do not need to provide the key in the mount_smbfs command, though. You'll be prompted for it. You can save it in Keychain if you wish.

mount_smbfs -d 0777 -f 0777 //[storagename]@[storagename].file.core.windows.net/[sharedname]  [Mount point in Mac filesystem]

You can also mount a share via Finder; see Microsoft's official documentation for more.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
2

Mounting an Azure File share from OSX is currently not supported. There may be a work around but the only officially supported Windows clients can be found here and Linux clients can be found here.

The following is supported clients.

Windows Client  SMB Version Supported
Windows 7   SMB 2.1
Windows Server 2008 R2  SMB 2.1
Windows 8   SMB 3.0
Windows Server 2012 SMB 3.0
Windows Server 2012 R2  SMB 3.0
Windows 10  SMB 3.0


Ubuntu Server 14.04+
RHEL 7+
CentOS 7+
Debian 8
openSUSE 13.2+
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 (Premium Image)

Also, you could refer to this feedback.

Shui shengbao
  • 3,583
  • 1
  • 11
  • 20