Search is not working for anonymous users in SharePoint 2013
-
08-10-2020 - |
Frage
I have implemented search in my SharePoint 2013 site. It is returning an error as "Sorry Something went wrong" for anonymous users. I have also done full crawling for the site after enabling the anonymous access.
Lösung
I used to solve this issue by turning on anonymous search results cache, it's under "setting" in CSWP (you can configure it in CSWP or check the link below for more advanced tricks.)
https://blog.mastykarz.nl/anonymous-search-results-cache-sharepoint-2013-public-websites/
[Mar-28 Updated]
Andere Tipps
If it works for logged in users and not for anonymous only then you have to run a powershell script that enables anonymous again for these lists.
I have written a blog post about this:
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange