Add User Data Source

If I have 1000 users in AAD, how can I get all those users as data source? Cuz I want to use them as members in groups. Write a module?