How to enable Managed Identity for Azure File shares ( NFS & SMB) hosted on Linux VM

R, Ashmaa SBOBNG-ITV/GA 20 Reputation points
2024-10-21T11:23:29.84+00:00

Can a Linux VM access a storage accounts (File shares) without account keys or SAS and enabled for using Managed Identity ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,018 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,233 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,101 Reputation points Microsoft Employee
    2024-10-21T12:06:16.88+00:00

    @R, Ashmaa SBOBNG-ITV/GA Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    The only way to access Azure files via managed identities is over REST today: https://learn.microsoft.com/en-us/azure/storage/files/authorize-oauth-rest?tabs=portal However, we are currently working on a feature to provide Managed Identity support over Windows and Linux over SMB, but at this time are unable to provide an ETA.

    AD Kerberos authentication for Linux clients: Linux clients can use Kerberos authentication over SMB for Azure Files using on-premises AD DS or Microsoft Entra Domain Services.

    Azure Files supports identity-based authentication over Server Message Block (SMB) for Linux virtual machines (VMs) using the Kerberos authentication protocol through the following methods:

    • On-premises Windows Active Directory Domain Services (AD DS)
    • Microsoft Entra Domain Services

    Enable Active Directory authentication over SMB for Linux clients accessing Azure Files

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


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

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.