Active Directory is case aware, but not case sensitive. That means that AD saves values using the case you specify, such as "John Smith" but you can query for and find values using any case, such as "john smith", "JOHN SMITH", or "joHn sMiTh".
--please don't forget to upvote
and Accept as answer
if the reply is helpful--