Forum Discussion
JaredMatfess
Mar 31, 2017Iron Contributor
SharePoint Online Search Not Returning Data in People Search
So I'm working in a client tenant (O365) and have created a custom attribute in their User Profile service called "HideFromPeopleSearch". It's a boolean attribute and basically I'm flagging service a...
- Mar 31, 2017Did you read this? http://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
Mikael Svenson
Apr 04, 2017Iron Contributor
Did you re-index the profiles after you changed to the People index?
JaredMatfess
Apr 04, 2017Iron Contributor
Yes sir, ran your script. I actually swapped in WorkPhone since that's another attribute that's not being returned with data despite it being populated for users.
What's interesting with your script is on this line it never returns a value for $dicitonary["crawltime"] - should it?
Write-Host $dictionary["accountname"] "Saved:" $dictionary["write"] "Indexed:" $dictionary["crawltime"] -ForegroundColor Cyan
- Mikael SvensonApr 04, 2017Iron Contributor
Crawltime is not a default prop :) If you edit one profile manually and wait 6h+, do you get a value for that profile?
- Mikael SvensonApr 04, 2017Iron ContributorAnd did you map it at the tenant level?
- JaredMatfessApr 04, 2017Iron ContributorOoh, no I didn't map it at the tenant level. I mapped it at the site collection level. Let me do that! (I do get values for other properties, including when new users join)