r/Intune•
JayMillah

Entra joined machines prompting for credentials when accessing on-prem network share

General Question

I'm running into a problem where our Entra joined devices (on-prem and remote) get prompted when accessing mapping drives for on-prem network shares. I map the drives using the DriveMappings.admx file from Rudy's guide and the drives are mapped using FQDN e.g. \\server.domain.com\share

The user account logging into these devices is synced from AD through Cloud Connect and I double checked that UPN/SAM are both synced. The user account does have permissions because if I proceed through the auth prompt with the signed in user credentials, I can access the share fine. This issue isn't happening with hybrid joined devices, the drives are mapped and can be opened without being prompted for credentials. Is there some step I may have missed? We don't have cloud kerberos set up but as far as I know that's not required for mapped drives to work seamlessly.

Posted Oct 28, 2024, 3:39 PM UTC

38
Entegy•

Have you explicitly configured seamless SSO?

4
JayMillahOP•

Yep, AAD connect is set to pass-through and enable single sign-on is checked.

1
_ReNoX_•

Hi, we also use drivemapping.admx. We only had the problem in connection with Windows Hello. So if you have logged in to Windows using an alternative login method besides the password. The Cloud Kerberos Trust is absolutely necessary for Windows Hello in conjunction with an Entra joined device. Are your users using Windows Hello?

2
JayMillahOP•

Nope, no Windows Hello. I'm signing in with email/pw

1
IAMADon•

We don't have cloud kerberos set up but as far as I know that's not required for mapped drives to work seamlessly.

We have the same issue, but I'm almost certain this is the reason.

I worked around it using PS scripts to ask for & save their encrypted credentials to their profile, and another on login to use those credentials to map the drive.

2
PREMIUM_POKEBALL•

There is absolutely no downside to cloud Kerberos. We’re a post-ad join domain env and all my users can hit on-prem smb shares with no-logon ease. 

ALL my users, even my Mac (pSSO). 

3
johnlnash•

We are too. We think it’s because credential guard is enabled and are disabling it to test

2
JayMillahOP•

Update: I have narrowed the problem down to my testing accounts having problems. I tested on 3 accounts, all synced from AD:

  1. My everyday account can access the drives fine, no prompts needed
  2. A new barebones Domain Users account gets prompted
  3. A copied account of my everyday account also gets prompted

On my main account, if I run klist, I see the kerberos tickets granted from our DC, but none of my 2 test accounts. Still unsure where to go from here.

1
Stee-van•

When streamlining WHfB via Intune, Cloud Kerberos is recommended for accessing on-premises network shares. When disabling WHfB and using password only you can access the network shares without a problem.

Please implement Cloud Kerberos Trust with Windows Hello for a nice integration and hybrid solution: https://intunestuff.com/2024/07/02/cloud-kerberos-trust-wfhb-intune/

The you can import and config the admx for drive mapping.

1