Local People Results stopped returning anything

%3CLINGO-SUB%20id%3D%22lingo-sub-3271918%22%20slang%3D%22en-US%22%3ELocal%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3271918%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20visual%20employee%20directory%20setup%20in%20SharePoint%20Online%20based%20on%20the%20%22Local%20People%20Results%20(Service)%22%20for%20my%20query%20results%20like%20most%20people%20here.%20Been%20working%20fine%20for%20years.%20Today....%20returns%20no%20results.%20Even%20if%20I%20default%20to%20just%20(Contentclass%3DSPSPeople)....%20NOTHING.%20Anyone%20else%20have%20this%20issue%20out%20of%20the%20blue%3F%20I%20haven't%20touched%20this%20page%20or%20config%20in%20years.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3271918%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3294013%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3294013%22%20slang%3D%22en-US%22%3Esame%20-%20removed%20contentclass%3Aspspeople%20from%20my%20query%20and%20it's%20working%20again.%20thanks%20all!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3275312%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3275312%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Fadmin.microsoft.com%2FAdminportal%2FHome%3Fsource%3Dapplauncher%23%2Fservicehealth%2F%3A%2Falerts%2FSP349177%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadmin.microsoft.com%2FAdminportal%2FHome%3Fsource%3Dapplauncher%23%2Fservicehealth%2F%3A%2Falerts%2FSP349177%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMicrosoft%20broke%20it....%20Support%20rep%20got%20back%20to%20me.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3274015%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3274015%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%20I%20ran%20into%20the%20same%20issue.%20Resolved%20it%20by%20changing%20my%20query%20to%20read%20the%20following%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7Bsearchbox%7D%20%3CSTRONG%3EContentClass%3Durn%3Acontent-class%3ASPSPeople%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20others%20suggestions%20should%20work%20as%20well.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3273765%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3273765%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F408711%22%20target%3D%22_blank%22%3E%40NThoman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20got%20it%20working%20now%20...%20I%20had%20to%20change%20...%3C%2FP%3E%3CP%3E%7Bsearchboxquery%7D%20contentclass%3Dspspeople%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3ETo%3C%2FP%3E%3CP%3E%7Bsearchboxquery%7D%20*%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20checking%20back%20in%20with%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3273685%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3273685%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1349861%22%20target%3D%22_blank%22%3E%40JFoley1918%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20changed%20it%20is%20the%20%22Search%20Results%22%20property%20in%20the%20%22Search%20Criteria%22%20section.%20There%20is%20that%20button%20there%20to%20%22Change%20query%22.%20I%20did%20do%20a%20re-index%20on%20the%20site%20when%20I%20was%20troubleshooting.%20Maybe%20that%20helped%20but%20once%20I%20removed%20the%20contentclass%20part%20it%20worked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%7BSearchBoxQuery%7D%20(-%22sps-usertype%22%3A1%20AND%20-%22sps-hidefromaddresslists%22%3A1%20AND%20-%22sps-recipienttypedetails%22%3D4%20AND%20-%22sps-recipienttypedetails%22%3D16%20AND%20-%22sps-recipienttypedetails%22%3D32%20AND%20-%22sps-recipienttypedetails%22%3D8589934592%20AND%20-%22sps-recipienttypedetails%22%3D17179869184%20AND%20-%22sps-recipienttypedetails%22%3D34359738368%20AND%20-%22sps-recipienttypedetails%22%3D2199023255552)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3273249%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3273249%22%20slang%3D%22en-US%22%3EDid%20you%20change%20this%20in%20the%20%22People%20Search%20Core%20Results%22%20web%20part%3F%20I%20changed%20%22%7Bsearchboxquery%7D%20contentclass%3Dspspeople%22%20to%20%22%7Bsearchboxquery%7D%20%22%20but%20still%20getting%200%20results%20back.%20Was%20there%20any%20delay%20when%20you%20made%20this%20change%3F%20Did%20the%20crawl%20have%20to%20run%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20your%20help!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3273112%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3273112%22%20slang%3D%22en-US%22%3EI%20was%20surprised%20at%20the%20number%20of%20complaints%20I%20got....%20didn't%20realize%20it%20was%20used%20so%20much%20at%20our%20company.%20%3Ap%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3273030%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3273030%22%20slang%3D%22en-US%22%3ESame%20scenario%2C%20same%20issue.%20I%20decided%20to%20remove%20contentclass%3DSPSPeople%20figuring%20it%20would%20break%20the%20query%2C%20but%20it%20worked.%3CBR%20%2F%3E%3CBR%20%2F%3ENot%20sure%20why%20this%20happened.%20MS%20may%20have%20changed%20something%3F%20Who%20knows%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3271941%22%20slang%3D%22en-US%22%3ERe%3A%20Local%20People%20Results%20stopped%20returning%20anything%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3271941%22%20slang%3D%22en-US%22%3Econtentclass%3DSPSPeople%3CBR%20%2F%3E%3CBR%20%2F%3ELooks%20like%20the%20content%20class%20changed.%20Once%20I%20took%20that%20out%20of%20my%20query%20it%20all%20started%20working.%3C%2FLINGO-BODY%3E
Contributor

I have a visual employee directory setup in SharePoint Online based on the "Local People Results (Service)" for my query results like most people here. Been working fine for years. Today.... returns no results. Even if I default to just (Contentclass=SPSPeople).... NOTHING. Anyone else have this issue out of the blue? I haven't touched this page or config in years.

9 Replies
contentclass=SPSPeople

Looks like the content class changed. Once I took that out of my query it all started working.
Same scenario, same issue. I decided to remove contentclass=SPSPeople figuring it would break the query, but it worked.

Not sure why this happened. MS may have changed something? Who knows?
I was surprised at the number of complaints I got.... didn't realize it was used so much at our company. :p
Did you change this in the "People Search Core Results" web part? I changed "{searchboxquery} contentclass=spspeople" to "{searchboxquery} " but still getting 0 results back. Was there any delay when you made this change? Did the crawl have to run?

Thanks for your help!

@JFoley1918 

 

I changed it is the "Search Results" property in the "Search Criteria" section. There is that button there to "Change query". I did do a re-index on the site when I was troubleshooting. Maybe that helped but once I removed the contentclass part it worked.

 

{SearchBoxQuery} (-"sps-usertype":1 AND -"sps-hidefromaddresslists":1 AND -"sps-recipienttypedetails"=4 AND -"sps-recipienttypedetails"=16 AND -"sps-recipienttypedetails"=32 AND -"sps-recipienttypedetails"=8589934592 AND -"sps-recipienttypedetails"=17179869184 AND -"sps-recipienttypedetails"=34359738368 AND -"sps-recipienttypedetails"=2199023255552)

 

@NThoman 

I've got it working now ... I had to change ...

{searchboxquery} contentclass=spspeople     

To

{searchboxquery} * 

 

Thanks for checking back in with me.

Hello All, I ran into the same issue. Resolved it by changing my query to read the following:

 

{searchbox} ContentClass=urn:content-class:SPSPeople

 

The others suggestions should work as well.

same - removed contentclass:spspeople from my query and it's working again. thanks all!