VMware Aria Automation Orchestrator 8.18.1.
This is expected behavior based on the logic of the searchExactMatch method when it is configured to return only a single result. The first result is returned.
It is recommended to use the ldap client for these kind of searches.