I want to get all people in a company using office365 API but i am unable to get all the users.
I used the below API.
https://outlook.office365.com/api/beta/me/people/?%24top=100000
Here i am getting only those person name which ever i or his/her contacted through mails
https://outlook.office365.com/api/v1.0/me/contacts
here i am only getting cantacts users
I am using c# code for validating the user credential and i can change my approach for getting the all users.