Get the same user from 2 Active Directories


I try to retrieve the same user from 2 different AD, but each time it is the 1st AD that returns the result and I have no result from the 2nd AD.

What I wanted to know, in this case, keycloak returns the 1st result only or is there a way to list the results of different ADs

Thank you

Assuming you are using AD with LDAP via user federation, this is not possible. The first one wins.
See also - last paragraph “When a Storage Provider lookup fails…”

Thank you

this is very helpful