Hi LIL Tinder,
To clarify, the KERB_CERTIFICATE_S4U_LOGON structure within LsaLogonUser is primarily intended for user principals, not computer accounts. In practice, Windows security architecture does not support certificate-based S4U logon flows for computer identities in the same way it does for users. Computer accounts can authenticate using Kerberos or NTLM, but the certificate mapping logic is scoped to user principals.
That said, computer certificates can still be leveraged for device authentication scenarios, but the mapping constraints are strict. The certificate must contain the correct EKU (usually Client Authentication), and the Subject Alternative Name (SAN) must align with the computer object in Active Directory. Implicit mapping requires that the certificate’s identity information matches the AD computer account attributes exactly. Without that alignment, the certificate will not resolve correctly to the computer object.
If your goal is to achieve device-level assurance without user interaction, you may want to explore device-based conditional access policies in Entra ID or certificate-based authentication at the TLS layer, rather than relying on S4U logon for computer accounts. These approaches are more consistent with current Windows and Entra ID security architecture.
In short, certificate-based S4U logon is not supported for computer accounts, and while certificates can be mapped to devices, the constraints are strict and usually better handled through other mechanisms.
I hope this helps you move forward. If you find this answer helpful, please consider clicking Accept Answer so others can benefit too.
Jason.