ADFS case sensitivity

ADFS is case-sensitive for the most part - but there are some sections of ADFS 2.0 where you might not need an exact match.

In general you should however still try to make sure you both compy with the standard format for public attributes and settings and maintain consistency when referring to internal server names.

Example: referring to a server in one place as and referring to the same server as as is just asking for trouble.

Even if it may work within a pure Microsoft federation Environment there's no guarantee that non-Microsoft implementations will interpret the difference in casing the same way.

SAML values like Boolean TRUE vs. True vs. true are also subject to this - you should check the protocol documentation to make sure you're using the correct casing.

The error message below is the result of using an incorrect casing:

ADFS Event ID 67:

System.Xml.XmlException: ID4318: The SAML protocol message cannot be read because it contains data that is not valid.
See the inner exception for details.
Line 1, position 2. --->
System.FormatException: The string 'False' is not a valid Boolean value.

   at System.Xml.XmlConvert.ToBoolean(Strings)


   --- End of inner exception stack trace

Examining the binding reveals the following:


...all of these should be 'false' and not 'False'


Further details:

XML Schema

Comments (3)

  1. Garry Trinder says:

    I rest my Case 🙂

  2. Just like in your english class…case matters

Skip to main content