map a windows drive to azure files using Entra

Rick J. Doll 0 Reputation points
2024-11-15T22:53:09.01+00:00

We have set up a storage account.

We can map a drive to the storage account from windows using the storage account name and access key.

We have Microsoft Entra enabled in the identity based access.

Anytime that we try and map a drive to azure files on windows using our Entra credentials, we get a password error and it doesn't map. Again, it maps fine with storage name and key.

Hopefully I am missing an easy step?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,311 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,266 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 26,465 Reputation points MVP
    2024-11-15T23:17:25.69+00:00

    This is not supported unless your Entra tenant is integrated with either Active Directory (via Connect/Cloud sync) or with Entra Domain Services

    Details at https://learn.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview

    Supported scenarios

    • On-premises AD DS authentication: On-premises AD DS-joined or Microsoft Entra Domain Services-joined Windows machines can access Azure file shares with on-premises Active Directory credentials that are synched to Microsoft Entra ID over SMB. Your client must have unimpeded network connectivity to your AD DS. If you already have AD DS set up on-premises or on a VM in Azure where your devices are domain-joined to your AD, you should use AD DS for Azure file shares authentication.
    • Microsoft Entra Domain Services authentication: Cloud-based, Microsoft Entra Domain Services-joined Windows VMs can access Azure file shares with Microsoft Entra credentials. In this solution, Microsoft Entra ID runs a traditional Windows Server AD domain on behalf of the customer, which is a child of the customer’s Microsoft Entra tenant.
    • Microsoft Entra Kerberos for hybrid identities: Using Microsoft Entra ID for authenticating hybrid user identities allows Microsoft Entra users to access Azure file shares using Kerberos authentication. This means your end users can access Azure file shares over the internet without requiring network connectivity to domain controllers from Microsoft Entra hybrid joined and Microsoft Entra joined VMs. Cloud-only identities aren't currently supported.
    • 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.

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


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.