I am trying to access a b2c directory using Graph API to get all the users inside it...So far I have 800+ users however using below snippet I could only get 100 users.
UserCollectionPage users = graphClient.users()
.buildRequest()
.get();
List<User> userList = users.getCurrentPage();
So I have created a graph client and ideally I should get back all the users in object "users" however I was only able to get 100 users, I tried to debug and found so...
One more bug that I noticed in the API was that the userType in debugger expression window for all user was NULL which is wrong because all the users are of userType - member...
Is anybody aware of what the correct API is to list all the users at once? I do not mind if the listing is based on JSON, but the more important thing would be to list all 800+ users.