I am looking for some clarity on how to use the user search API (or the appropriate API I am missing). Currently I have both a user/pass database and a Microsoft AD connected to my account and an application configured to use both for user authentication. What I need is to query all the users available in AD. I am using this query to try and retrieve them:
https://{{auth0_domain}}/api/v2/users?q=family_name=Smith&connection=&search_engine=v3
There are several users in our AD that have last name Smith, however I get an empty list back. It would appear the only users I can list with the above query are users who have previously authenticated with Auth0 via our AD…is this expected behavior or is my query wrong? Is it possible to get a list of all users available in AD via the Auth0 /users endpoint?
Thanks for any direction.