Forum Discussion
SharePoint Managed Property Online Search Issue – Custom User Profile Property
I’m facing an issue with SharePoint Online search and could use some help.
I created a custom User Profile Property (Text) in SharePoint and mapped it to a Managed Property for search. However, when I query the managed property, the value is always returned as null.
What I’ve tried so far:
- Reindexed the User Profiles using a PowerShell script.
- Updated the user profile property values multiple times.
- Waited for search/indexing to complete.
- Verified that existing/default user profile properties are appearing in search results correctly.
Interestingly, existing user profile properties work as expected in search. The issue only occurs with the newly created and mapped property.
Has anyone faced a similar issue with a newly mapped User Profile Property → Managed Property? Is there any additional step required to make a newly created user profile property searchable?
Any suggestions on what else I can check would be appreciated.
2 Replies
Hi get2hersh
maybe to add the newly created user profile properties to ContentsHidden property.
"You may also map the crawled property to the managed property ContentsHidden which is already set to be included in the PeopleIdx." from : https://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
Best, Dave
Because default profile properties work while only the new property returns null, verify the profile property and mapping. In SharePoint admin center, open More features, User profiles, Manage User Properties, edit the custom property, and confirm Indexed is selected under Search Settings. Confirm the value was written to the SharePoint user profile; custom Microsoft Entra ID properties do not automatically synchronize into SharePoint. Next, inspect the search schema for the crawled property after a profile has been processed. Map it to an unused managed property that is Queryable and Retrievable, then query the People search source rather than a content-only source. Test a user and request a built-in profile property beside the custom managed property. Reindexing cannot populate a missing source value or correct a mapping to the wrong crawled property. If the crawled property never appears, open a Microsoft 365 support request with the property name and test user.