I have created an account in the Office 365 trial. I've added the New App Registration on Azure with permissions:
BookingsAppointment.ReadWrite.All
Calendars.ReadWrite
Contacts.ReadWrite
EWS.AccessAsUser.All
Mail.ReadWrite
Mail.Send
People.Read
User.Read
User.ReadBasic.All
And when I call https://graph.microsoft.com/v1.0/me/people as the user who created the office account gets a full list of users and resources.
When I call as a created user by admin with administrator rights, I get an empty list. I call permission link on admin user and on created admin user:
https://login.microsoftonline.com/{}/oauth2/v2.0/authorize?client_id={}&response_type=code&scope=BookingsAppointment.ReadWrite.All%20Calendars.ReadWrite%20Contacts.ReadWrite%20EWS.AccessAsUser.All%20Mail.ReadWrite%20Mail.Send%20People.Read%20People.Read%20User.Read%20User.ReadBasic.All
What is wrong?
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('fb6b188c-8698-4a03-9da4-82b7479c4625')/people",
"value": []
}