Per various sources (e.g. here) when using the me/people
endpoint, when I set the header X-PeopleQuery-QuerySources
to Mailbox,Directory
I should be able to retrieve any user in the directory, not just direct contacts. I've tried this previously (about a month ago) and it was working, but it seems to have stopped working now. I've tried in code and in Graph Explorer, across 2 tenants. I'm wondering if something has changed with this header?
Unable to find user in 'me/people' even with 'X-PeopleQuery-QuerySources' set to 'Mailbox,Directory'
Asked
Active
Viewed 36 times
1

Hilton Giesenow
- 9,809
- 2
- 10
- 24
-
Yes it was just me being silly - I didn't realise my Graph Explorer session had logged out, and in the code there was a bug. Where are you experiencing it (what context)? – Hilton Giesenow Jan 18 '23 at 18:13