Feb 29 2024 04:11 AM
Hi there,
I build a people directory with modern search pnp and I want to display the users organisation.
I use the SharePoint-Search Option with LocalPeopleResult as the result source and added the OrgNames as a selected property but the companyname is not showing up.
What do I miss?
Feb 29 2024 01:14 PM
Hello @Lel_999987
which property do you use?
Make sure, that you have the right user profile property: https://microsoft-search.github.io/pnp-modern-search/scenarios/Create-a-useful-People-Search/
Best, Dave
Mar 01 2024 12:53 AM
Hi @DaveMehr365,
thanks for your feedback.
I use the OrgNames Property:
But it seems to be empty while the department property is filled:
Entra AD Profile
Mar 03 2024 10:20 PM
Hello @Lel_999987
make sure, that you map the correct property.
Other things for User Profile properties ist this: https://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
"You may also map the crawled property to the managed property ContentsHidden which is already set to be included in the PeopleIdx."
Best, Dave