Search not working in SP 2019 communication site

%3CLINGO-SUB%20id%3D%22lingo-sub-1359530%22%20slang%3D%22en-US%22%3ESearch%20not%20working%20in%20SP%202019%20communication%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1359530%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ehave%20installed%20SharePoint%20Server%202019%20on%20a%20single%20server%20with%20all%20imaginable%20Service%20applications.%3C%2FP%3E%3CP%3EI%20have%20created%20a%20host%20named%20web%20application%20in%20which%20I%20created%20root%20site%20collection%20based%20on%20the%20Communication%20Site%20template%20and%20used%20my%20own%20Domain%20controller%20to%20create%20a%20locally%20signed%20certificate%20which%20is%20valid%20as%20far%20as%20I%20can%20tell.%20Now%20everything%20seems%20to%20work%20except%20that%20the%20search%20page%20in%20my%20Communication%20Site%20keeps%20telling%20me%20%22We%20couldn't%20find%20what%20you're%20looking%20for%22.%20The%20errors%20occurs%20for%20all%20users%20regardless%20of%20permission%20level%20on%20the%20site.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20seems%20to%20be%20related%20to%20authentication%20because%20when%20I%20track%20the%20request%20in%20fiddler%2C%20I%20get%20several%20401%20(Unauthorized)%20errors.%20A%20fiddler%20session%20archive%20is%20included%20in%20the%20attached%20zip%20file.%3C%2FP%3E%3CP%3EI%20have%20searched%20both%20google%20and%20bing%20and%20the%20regular%20community%20forums%20like%20github%20and%20here%20but%20haven't%20found%20any%20solution%20to%20this%20issue.%20When%20looking%20in%20the%20ULS%20logs%20i%20found%20a%20message%20stating%20that%20%22Context%20has%20no%20SMTP%2FUPN%20claims%22%20and%20after%20that%20I%20see%20IsAuthenticated%3DFalse%2C%20which%20makes%20me%20beleive%20that%20this%20has%20something%20to%20do%20with%20it%2C%20but%20I%20haven't%20found%20anything%20that%20explains%20what%20the%20message%20might%20mean.%20The%20relevant%20part%20of%20the%20ULS%20log%2C%20with%20verbose%20authentication%20and%20claims%20logging%2C%20is%20also%20included%20in%20the%20attached%20zip%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20there's%20anyone%20who%20has%20any%20input%20or%20tips%20on%20how%20to%20get%20this%20working%2C%20I'd%20appreciate%20it%20a%20lot.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1359530%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2019%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Regular Visitor

 have installed SharePoint Server 2019 on a single server with all imaginable Service applications.

I have created a host named web application in which I created root site collection based on the Communication Site template and used my own Domain controller to create a locally signed certificate which is valid as far as I can tell. Now everything seems to work except that the search page in my Communication Site keeps telling me "We couldn't find what you're looking for". The errors occurs for all users regardless of permission level on the site. 

The issue seems to be related to authentication because when I track the request in fiddler, I get several 401 (Unauthorized) errors. A fiddler session archive is included in the attached zip file.

I have searched both google and bing and the regular community forums like github and here but haven't found any solution to this issue. When looking in the ULS logs i found a message stating that "Context has no SMTP/UPN claims" and after that I see IsAuthenticated=False, which makes me beleive that this has something to do with it, but I haven't found anything that explains what the message might mean. The relevant part of the ULS log, with verbose authentication and claims logging, is also included in the attached zip file.

 

If there's anyone who has any input or tips on how to get this working, I'd appreciate it a lot.

 

Thanks in advance.

 

0 Replies