Anonymous users cannot view search results on SharePoint server 2019 Modern communication site. It gets 500 error when it tries to query the search api as seen in the console.
I would really appreciate help in this regard.
I have been banging my head against wall over this.
Thanks a lot.
Please let me know if any details are needed.
Update: If the anonymous user searches from osssearchresults.aspx, it shows them results but not from modern search control/page.
