Hello Adrian,
Your HTTP 400 errors may result from oversized Kerberos authentication tokens caused by extensive Active Directory group memberships, including nested groups. However, verify the root cause before changing the registry. On Windows 8 and Windows Server 2012 or later, the default "MaxTokenSize" is 48,000 bytes, which Microsoft recommends for most environments.
Check "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters\MaxTokenSize" and ensure the value is a "REG_DWORD". If the affected applications use IIS and return "Request Header Too Long," investigate the HTTP header limits "MaxFieldLength" and "MaxRequestBytes" under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters". Avoid increasing these limits indiscriminately, as doing so can increase memory consumption and security risks. The preferred long-term solution is to remove unnecessary group memberships and simplify nested group assignments. Also, check for Windows access-token limitations, since increasing "MaxTokenSize" will not resolve every group-membership-related issue.
For further guidance, consult Microsoft's documentation on "Kerberos authentication problems" (https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/kerberos-authentication-problems-if-user-belongs-to-groups) and "HTTP 400 errors caused by oversized request headers" (https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/www-authentication-authorization/http-bad-request-response-kerberos).
Could you confirm the Windows versions involved, whether the applications run on IIS, and the exact HTTP 400 error message?
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!
HP.