Jan 05 2017 10:44 AM - edited Jan 06 2017 08:38 AM
We have a SharePoint Online site that is exhibiting a very odd search behavior. If a user clicks on a document library and then performs a search they get "Nothing here matches your search." However, if a site admin performs the same search, results are displayed. The permissions for the site are very simple and everything appears to be correct. Members have Edit permissions, and Owners have Full permissions. I've checked and made sure that all documents are checked-in. In the Library Settings, I've confirmed that the Allow items from this document library to appear in search results option is set to Yes. I've also reindexed the document library. In Site Settings > Search and Offline Availability I've set the Allow this site to appear in search results to Yes. I've selected the Always index all Web Parts on this site option. I've also reindexed the site. We've also run a PowerShell script to recrawl. Still, the search issue is not resolved. Search appears to be functioning properly on the root site collection, but not on the other site collections. Has anyone else run into this problem? Any suggestions on what else I should try?
Update 1/6/2017:
We've gotten a little closer to figuring out what is causing the issue. We suspect it is an issue with using an Office 365 Group and then adding that group to the SharePoint site's Members group. Has anyone else run into this issue where an Office 365 Group is added to a SharePoint security group and users are unable to see search results?
Jan 31 2017 06:04 AM
Earon, have you managed to solve this? We are experiencing a very similar issue, except that there is no o365 group involved, the permission list contains only users, no groups.
Jan 31 2017 06:16 AM
In general when admins see things but users don't content ( inlcuding display templates etc) are not published. Best thing to do is check all files that may be involved in presenting the information. Somehting is likely not published and therefor not visible to the normal user.
Jan 31 2017 07:43 AM
In our case even the "search as you type" way (so the search box in the upper left corner of a modern document library) fails to return any results. Btw this was my first thought also, so I double checked the results.aspx in the search center subsite, but it was checked in and published.
Feb 02 2017 02:02 AM
It appears I just wasn’t patient enough, search now works properly.
There is a delay between having access to a document library and having access to search results sourced from that library, and this time it was longer than the usual.
Mar 07 2017 02:26 PM
Were you able to fix it? I'm having the same issue with a Modern Team Site -- the full site search works ok for guests, but the document/list library search does not. All search works ok for admins. If I create a new Modern Team Site and set it up (seemingly) the same, the new site works. It makes me think the Modern Team Site I'm having issues with is corrupted somehow. Incidentally, the Site Permissions and other settings pages are the old style with the problematic Team Site, while they're the modern style with any new Team Site that I create.
May 17 2017 07:08 AM
Oct 27 2017 11:03 AM
Sep 21 2023 12:20 AM - edited Sep 21 2023 12:21 AM
We have this exact problem as well, anno 2023. Thankfully, this fix works for us as well. But I have no idea why there should be this problem with SharePoint reading memberships of O365 groups, and specifically in search.
So I'm curious if anyone has insight into why this problem continues to occur, when O365 groups are touted as the way to simplify the organization of rights in O365