Enables the use of Token Broker for AD FS authentication
Supported on: At least Windows Server 2016, Windows 10 Version 1703
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Windows\WorkFolders |
|---|---|
| Value name | EnableTokenBroker |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
What it does (vendor explanation)
This policy specifies whether Work Folders should use Token Broker for interactive AD FS authentication instead of its own OAuth2 token flow used in previous versions.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Work Folders > Enables the use of Token Broker for AD FS authentication
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'EnableTokenBroker' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".