I am trying to create a dropdown list with names of colleagues that work in a certain city (hardcoded).
So basically filtering all O365-records by city "Target City" and list their DisplayNames in a combobox or dropdown.
I have been using Microsoft365Users.SearchUserV2
I have no issue getting all me personal city information. Also searching for the city returns records but not with the Target City as city but in DisplayName or Name column.
I read that want to do is not possible as SearchUserV2 does not search in the city field.
Is that still the case? If so, any idea for a workaround?
Thanks a lot

Report
All responses (
Answers (