How does one Change the Maximum Query String Length in AD FS V4 Server 2019?

Lance Merchant 1 Reputation point
2022-04-13T20:06:02.583+00:00

How does one Change the Maximum Query String Length in AD FS V4 Server 2019?

Here's how to if the server has IIS (https://www.saotn.org/the-length-url-request-exceeds-configured-maxurllength-value/) but the newer AD FS versions do now have IIS.

Microsoft Security Active Directory Federation Services
Windows for business Windows Server User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Pierre Audonnet - MSFT 10,191 Reputation points Microsoft Employee
    2022-04-16T14:14:17.65+00:00

    The documentation is erroneous. You should not set the URL of the AD FS WS-Federation logout endpoint as a SLO endpoint for an application. This is creating issues and potential security risks (making you think you signed-out from everywhere when you do an IDP initiated sign-out or a SLO from another SP, when in fact you haven’t).

    Regarding the way to configure the HTTP driver, you may use this reference: https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/iisadmin-service-inetinfo/httpsys-registry-windows the value MaxFieldLength and/or MaxRequestBytes seem to allow you to customize some maximum lenghts.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.