Entra joined devices in Hybrid environment Auth issues to Azure File Shares with AD identity source

mpls 170 Reputation points
2026-07-31T20:10:20.71+00:00

Greetings, we are beginning our journey to Entra only but are still in Hybrid mode. We are deploying new devices as Entra only and our user identies are still hybrid. We are using Entra Connect Sync to sync default properties in both directions. We have had Cloud Kerberos working for quite some time. No issues with any of the aforementioned infrastructure. We are noticing on our new Entra deployed Windows devices (Device Preparation Policy) that the users are having issues connecting to the Azure file Shares. Again the File shares are setup with AD DS as the identity source. The computer objects that control the auth to the Azure files shares are set to AES-256.

What we are seeing is that to connect to the Azure file shares the end users must manually enter their credentials as domain\username plus password. Their WHFB pin does not work. Their credentials entered as upn with password does not work.

These Entra joined devices can successfully auth with WHFB or upn to on prem file shares \fqdn\fileshare and \hostname\fileshare.

For these devices we have made sure that Cloud Kerberos Ticket Retrieval Enabled is set on these devices.

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.


2 answers

Sort by: Newest
  1. mpls 170 Reputation points
    2026-08-04T02:59:51.64+00:00

    Okay on an Entra joined avd machine I am logged in with my hybrid identity that can definitely map these shares. When I try to map it prompts me to enter my security pin.

    Here is one of the errors I am seeing. It is trying to use NTLMV2 instead of Kerberos

    This machine attempted to authenticate to a remote resource via NTLM.

    Process Information:

    Process Name: SYSTEM
    
    Process PID: 0x4
    

    Client Information:

    Username: username
    
    Domain: UPPERCASEDOMAIN
    
    Hostname: entrajoinedhost 
    
    Sign-On Type: Single Sign-On
    

    Target Information:

    Target Machine: Untrusted
    
    Target Domain: Untrusted
    
    Target Resource: cifs/storageacct.file.core.windows.net
    
    Target IP: 192.x.x.x
    
    Target Network Name: storageacct.file.core.windows.net
    

    NTLM Usage:

    Reason ID: 6
    
    Reason: The target name could not be resolved by Kerberos or other protocols.
    

    NTLM Security:

    Negotiated Flags: 0xE2888015
    
    NTLM Version: NTLMv2
    
    Session Key Status: Present
    
    Channel Binding: Supported
    
    Service Binding: cifs/storageacct.file.core.windows.net
    
    MIC Status: Protected
    
    AvFlags: 0x2
    
    AvFlags String: MIC Provided
    

    Was this answer helpful?

    0 comments No comments

  2. Marcin Policht 107.9K Reputation points MVP Volunteer Moderator
    2026-07-31T22:46:12.6733333+00:00

    The fact that users can access on-premises SMB shares using WHFB and Cloud Kerberos Trust implies that Cloud Kerberos itself is functioning correctly. The issue appears to be specific to Azure Files authentication rather than Kerberos in general.

    Check which Kerberos ticket is being obtained. On an affected Entra-joined device, after the user signs in with WHFB, run klist and klist cloud_debug. You should see a Cloud TGT as well as a service ticket for the Azure Files SPN (typically cifs/<storageaccount>.file.core.windows.net) when the share is accessed. If the service ticket is not issued, the problem is occurring before Azure Files authentication.

    Verify that the storage account's AD DS configuration is healthy. Confirm that the storage account has the correct domain information (Get-AzStorageAccount -ResourceGroupName <RG> -Name <StorageAccount> | Select AzureFilesIdentityBasedAuthentication), that the AD computer object representing the storage account still has a valid password and SPNs, and that the Kerberos encryption types match your domain policy. AES-256-only is supported, but if domain controllers or the storage account object have inconsistent encryption settings, Kerberos can silently fall back to prompting for NTLM credentials.

    The fact that domain\username works but UPN does not indicates Windows Credential Manager is falling back to legacy SMB authentication rather than using the user's existing Kerberos session. If Kerberos were being used, users should not be prompted at all. It might worth checking whether the SMB client is attempting Kerberos by capturing Microsoft-Windows-SMBClient/Connectivity and Microsoft-Windows-Kerberos-Key-Distribution-Center event logs while reproducing the issue.

    Another potential cause might be DNS or SPN resolution. Ensure clients are connecting using the storage account FQDN (\\storageaccount.file.core.windows.net\share) and not via an alias or DFS namespace unless SPNs have been configured appropriately. Kerberos requires the service principal name to match exactly.

    You might want to also check whether this is an issue with Device Preparation Policy deployments. Compare an affected device against a working Entra-joined device by looking at:

    • dsregcmd /status
    • klist cloud_debug
    • klist tickets
    • gpresult /r (to confirm no legacy credential or Kerberos policies differ)
    • Get-SmbConnection after attempting access
    • Event Viewer under Applications and Services Logs → Microsoft → Windows → SMBClient and Kerberos.

    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

    Was this answer helpful?


Your answer

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