Azure File Share identity-based, unable to mount share with Active directory credentials in Mac OS client

saul cajero 1 Reputation point
2020-10-29T19:31:29.597+00:00

i have a problem with a Mac os client unable to mount an azure file share identity based enabled with Active directory credentials tried different ways but no luck, however when i tried to mount the share with the storage key it worked without issues following the instructions here

https://video2.skills-academy.com/en-us/azure/storage/files/storage-how-to-use-files-mac

also i was able to mount another share from a domain server using the same credential and worked ok.

does anyone had this issue before?
commands that i tried from macos:

mount_smbfs //'contoso.com;username':Pa55w0rd@storageaccountname.file.core.windows.net/share ~/share

and got the folloing error:

mount_smbfs: server rejected the connection: Authentication error

and with the finder UI it does not accept the credentials.

thanks.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,285 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,149 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,081 Reputation points Microsoft Employee
    2020-11-05T20:34:04.31+00:00

    @saul cajero

    You should be able to login to the Mac with you AD credentials and mount the file share. Do not specify additional credentials in your mount command.

    Please try this and let me know if you continue to face issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.