AuthPersistSingleRequest attribute not working

Tyson, Jack 0 Reputation points
2024-09-18T14:30:55.89+00:00

I'm currently experiencing issues with the AuthPersistSingleRequest attribute. I'm currently attempting to use it in an XML file linked to our IIS Auth Portal but whenever I attempt this, it flags as the configuration file is not well-formed XML. Attached error and XML config. Has anyone else experienced this? I've also tried to set it in the following files to no avail:

C:\Windows\System32\inetsrv\Config\Schema\IIS_schema.xml

C:\Windows\System32\inetsrv\Config\applicationHost.config

User's image

Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 54,316 Reputation points
    2024-09-18T14:38:38.8466667+00:00

    You are treating it like an element, it is an attribute. Refer to the docs here. It is an attribute of the windowsAuthentication element.

    <security>
       <authentication>
          <windowsAuthentication authPersistSingleRequest="true" />
       </authentication>
    </security>
    

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.