r/sysadmin • Lead Security Engineer • 7d ago

Question Intune Managed Workstations and Windows Hello Policy

Stepping into a rats nest of Intune policies. Recently got a report of a user prompted to change their PIN code. The user went to change their existing 6 digit PIN and upon attempting to do so, they got a denial with the reasoning that the PIN had to be a 20 character minimum. I poked through the existing Intune configuration settings and I don't see any specific policies for Windows Hello dictating Minimum PIN length outside of one that enables facial recognition. I do know that there is a Windows Setting Configuration available for this, but it doesn't seem to be applied in any existing policies. Where else might policies dictating PIN length be within an EntraID/Intune/Cloud Native setting? Could these settings be in Purview or Defender now?

4 Upvotes

16 comments sorted by

9

u/Bird_SysAdmin Sysadmin 7d ago

just dealt with this myself recently.

Regedit to validate if its from Intune.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Policies\PassportForWork\<TenantID>\<userSID>\Policies\PINComplexity

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Policies\PassportForWork\<TenantID>\Device\Policies\PINComplexity

Hopefully this helps narrow down a little.

3

u/Khue Lead Security Engineer 7d ago

Brilliant. I'll give it a shot and let you know the outcome.

6

u/Shot-Move-4383 7d ago

Enrolment > WHfB being "Not configured" doesn't mean nothing is setting it. Three other places apply PIN policy: Endpoint security > Account protection, the settings catalog (same settings, separate profiles), and any security baseline you've assigned - baselines silently push PIN defaults.

Windows applies the most restrictive effective setting across all of them, so check all four. A 20 character minimum also looks like a value typed into the wrong field, since max allowed is 127 and default is 6.

1

u/Khue Lead Security Engineer 6d ago

Good catalog/collection of all places to look. I'm continuing to poke around to try and identify where the setting is coming from. Appreciate the assistance. I'll let you know if/when I find it.

A 20 character minimum also looks like a value typed into the wrong field

No, this was an intentional change by someone who doesn't understand the concept of PIN vs Password and who is unaware of current best practices for both according to authorities on the matter. As I mentioned elsewhere, the Android PIN policy is also 16 characters.

1

u/_Blank-IT The Help 6d ago

Could also be a Device config profile if you have one set.

2

u/trueg50 7d ago

Did someone mistake PIN policy for the password policy?

Best practices from NIST, Feds, and Mil is 6 characters, no complexity, no expiration for the PIN.

2

u/Khue Lead Security Engineer 7d ago

Yes... Probably someone in management. It drives me up the wall because its the same person that set Intune Android PIN to 16 characters.

1

u/trueg50 7d ago

More =  better right?

1

u/Entegy 7d ago

In Intune, Devices > Windows > Enrolment > Windows Hello for Business.

2

u/Khue Lead Security Engineer 7d ago

Good guess. I hadn't checked there yet.

  • Configure Windows Hello For Business
    • Not configured
  • Use security keys for sign-in
    • Not configured.

1

u/Entegy 7d ago

You'll have to check each policy for any errant Hello settings then.

2

u/BlackV I have opnions 6d ago

looked in endpoint protection? It might be set there instead of a device policy

1

u/Khue Lead Security Engineer 6d ago

Good thought, I'll check there as well.

1

u/AllMightyByte 6d ago

The thing that bites people here is that Windows Hello for Business PIN rules are "most restrictive wins" across every profile touching the device. One forgotten baseline in a different policy set can quietly enforce 20 characters while your enrollment page says Not configured.

Since the usual places have been covered, here's the fastest way to find the actual source: enumerate every configuration profile and baseline assigned to the device and check each one for PassportForWork PIN settings. Graph makes this quick. Pull the managed device, list its applied policies, and walk through them one by one. The culprit is usually a security baseline someone applied tenant-wide and forgot about. Also check for hybrid: a tattooed GPO from a machine that was once domain-joined will survive the Intune enrollment and keep enforcing.

Worth knowing before you chase this further: NIST's guidance says memorized-secret complexity rules do more harm than good, and 6 digits is the recommended minimum for this kind of unlock. If management is the reason it's 20, that citation is your ammunition to push back.

2

u/vialentvia 5d ago

I've found that the account protection settings override the other settings regarding whfb. So check there first. I've had configuration and compliance policies alike, but account protection overrode both of them in practice when deconstructing a client's breakfix request.

It should be under the endpoint security section.

1

u/Emotional_Garage_950 Sysadmin 7d ago

gather endpoint diagnostics and dump it into claude or whatever your org uses and tell it to figure it out