Is there any way to mount Azure Files on macos using AD authentication?

Michał Kwiatek 20 Reputation points
2023-10-19T11:18:02.85+00:00

Hello, at my company we're considering using Azure Files to share files but I have a question about authentication - is there any possiility to use AD authentication for mounting Azure Files on MacOS? Or any authentication that would restrict access for specific users on MacOS? In the documentation there's only info about mounting the file share with account password and username

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,175 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
993 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,959 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,911 Reputation points Microsoft Employee
    2023-11-20T08:41:52.62+00:00

    @Michał Kwiatek

    Posting Offline discussion

    Currently for AD Authorization for Azure Files we support Windows/Linux only at this time. Overview - On-premises AD DS authentication to Azure file shares | Microsoft Learn

    • Only supported on Windows clients running OS versions Windows 8/Windows Server 2012 or newer, or Linux VMs (Ubuntu 18.04+ or an equivalent RHEL or SLES VM) running on Azure.

    You can however use storage account and key to map to Azure files, it’s just AD Auth is not currently supported.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ekpathak 15 Reputation points Microsoft Employee
    2023-10-19T11:56:39.6266667+00:00

    Hello Michał Kwiatek,

    Welcome to Microsoft Q&A and Thank you for posting your query here!

    I believe you have already gone through below document:

    https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-mac

    To mount Azure Files on macOS using AD authentication, you can follow the steps outlined in the Enable AD DS authentication for Azure file shares documentation. This documentation provides detailed instructions on how to enable Active Directory Domain Services authentication over SMB for Azure file shares, allowing your domain-joined macOS machines to access Azure file shares using AD DS credentials.

    Please note that the documentation includes PowerShell scripts and manual steps to perform the enablement actions. It is recommended to review the documentation thoroughly and follow the steps accordingly.

    Please let us know if you have any further queries. I’m happy to assist you further.

    Kindly do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    -Ekta