#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

Issues with User Profile Property visibility in Search-powered functionalities

koskila
Reading Time 4 min
Word Count 613 words
Comments 4 comments
Rating 5 (1 votes)
View

This article applies to a lot of different issues you might be having with your SharePoint-powered site or even custom functionality like mobile apps using SharePoint's search index.

I'll list a few of the situations, which could be caused by these issues, below:

  • You're using Search to show a list of User Profiles with their properties, but it's showing outdated or missing information

  • Your intranet has the classic "Upcoming Birthdays" -webpart (only weather and lunch lists are more classic than that!) This webpart is not showing some of the organization members at all.

  • The aforementioned webpart might also show nobody at all.

  • You're searching users on SharePoint's People Search based on their profile properties, but aren't getting results, or you get outdated results.

  • You have built a mobile application, that shows user profiles based on the information in the SharePoint Search index, but this application works erroneously for at least some users.

Reason for the issue

These issues are most of the time caused by an odd glitch in SharePoint's search indexing. Every now and then, crawlers might start ignoring certain properties from certain user profiles.

This is kind of a well-known issue, even though you can't really know what went wrong. I don't think anyone really knows, save for a few engineers working for Microsoft :)

Luckily, it's also reasonably easy to fix!

How to fix this?

If you're on-premises, you might want to check that your indexing component is running, your application servers are not out of memory, your index freshness is good, and that there aren't any errors in general.

You can always start a full crawl for your People Results source. If that doesn't help, check out the next steps, as even though they are for SharePoint Online, the basic concept sometimes helps on-premises, too. Just replace "RefinableDate" with whatever Managed Property you want to use, and be sure to configure them on the farm level!

Fixing non-indexed or non-updated properties in the Search Service in SharePoint Online

In SharePoint Online, there aren't that many things you can do. Setting a crawl schedule, running a full crawl - all of that is out of your hands! And that's often a good thing because dealing with some of the search issues that SharePoint Server might have, are quite frankly sometimes very painful.

Let's assume that you're using any functionality which shows users' birthdays. To this end, you've configured a mapping between the People:SPS-Birthday property to any RefinableDate -property. However, this is not quite working. How to fix this?

For that scenario, the steps are below.

How to fix a mapping between a crawled User Profile Property and a managed property in SharePoint Online

Time needed: 15 minutes.

Follow the following steps to remove the user profile property in SharePoint Online

  1. Remove the alias from the RefinableDate you're using.

  2. Remove the mapping between the People:SPS-Birthday & the RefinableDate.

  3. Change the mapping to another RefinableDate.

  4. Add the alias to that RefinableDate.

  5. Temporarily create a new User Profile Property (call it "TempProp" or something similar).

  6. Add a value to that field for any user (nothing vulgar, thank you very much!)

  7. After SharePoint Search indexing has run (I'd guess after a few hours, but the next day at the latest), remove the value from the property.

  8. Then remove the property.

At this point, everything should work. The remapping should fix any hangups that might exist between populating the values to your managed properties, and the creation of a new (temporary) property should trigger a reindex of the user profiles.

Alternatively, you can use Mikael Svenson's scripts for reindexing user profiles - most of the time, the end result should be the same: https://github.com/wobba/SPO-Trigger-Reindex

Comments

Interactive comments not implemented yet. Showing legacy comments migrated from WordPress.
oldtecszs
2020-03-22 00:00:48)
does not work
2020-03-31 14:08:19
Thanks for the comment, what's the issue you've run into?
Thomas B
2020-10-22 12:42:08)
Hi, Thanks for this article. In the meantime I've ran accross another issue regarding Sharepoint User Profile Properties ("memberOf" / "SPS-MemberOf"). I can find it in the list of user properties in the admin when I go to "manage user properties" , but If I want to edit values in "manage user profile", I can't find it. I've tried to find on the internet some documentation , for example if there is any sync from AAD to UPA regarding this property but so far no results ... Do you happen to have any information (article?) regarding this. Thanks again for your blog ! Best regards
2020-10-23 21:39:48
Hi Thomas, Thanks for your comment and an interesting question! Is the property populated for you, e.g. does it actually have values for the users? I recall it's not supposed to be modified, rather it's either a built-in property or just in there for legacy reasons... What are you trying to achieve? Just wondering if there's another way to achieve your end goal :) Let me know!
Whitewater Magpie Ltd.
© 2025
Static Site Generation timestamp: 2025-08-26T05:15:54Z