Forum Discussion
keithfable
Jan 07, 2023Brass Contributor
Graph API user all attributes/properties are null
Hi! We are using the People Picker component in our app and it is making graph API calls that look correct, but in the response the user properties are all null except the ID. Example, search...
- Jan 25, 2023smartyme Nivedipa-MSFT
It turns out we were missing the Users.ReadBasic.All permission, so the response was coming back but the user details were missing.
This answer on StackOverflow helped me: https://stackoverflow.com/a/69072958/20588
Thanks for your help everyone
smartyme
Jan 09, 2023Copper Contributor
keithfable, add a Select method to include the properties you want to return.
.Select("displayName,givenMame,jobTitle").GetAsync();
- Nivedipa-MSFTJan 11, 2023
Microsoft
keithfable - Has smartyme suggestion worked for you? or are you still facing this issue?- Nivedipa-MSFTJan 19, 2023
Microsoft
keithfable - Could you please confirm is your issue resolved or are you still facing this issue?- keithfableJan 25, 2023Brass Contributorsmartyme Nivedipa-MSFT
It turns out we were missing the Users.ReadBasic.All permission, so the response was coming back but the user details were missing.
This answer on StackOverflow helped me: https://stackoverflow.com/a/69072958/20588
Thanks for your help everyone