SOLVED

Sharepoint Online search folders with custom permissions

%3CLINGO-SUB%20id%3D%22lingo-sub-2678382%22%20slang%3D%22en-US%22%3ESharepoint%20Online%20search%20folders%20with%20custom%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2678382%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20document%20library%20on%20a%20Sharepoint%20online%20site%20with%20many%20folders.%20I%20applied%20specific%20permissions%20on%20the%20folders%2C%20adding%20security%20groups%20and%20removing%20the%20sharepoint%20members%2C%20for%20more%20granular%20control%20to%20access%20the%20folders.%3C%2FP%3E%3CP%3EI%20noticed%20that%20the%20search%20engine%20doesn't%20find%20the%20documents%20and%20folders%20that%20don't%20have%20the%20permission%20%22Sharepoint%20-%20Members%22%20assigned.%3C%2FP%3E%3CP%3EDo%20you%20know%20how%20I%20can%20fix%20this%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2678382%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2680162%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%20search%20folders%20with%20custom%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2680162%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1136040%22%20target%3D%22_blank%22%3E%40Guewen%3C%2FA%3E%20Are%20you%20in%20the%20SharePoint%20-%20Members%20group%20or%20in%20an%20Owners%20group%20or%20administrators%20permissions%20group%3F%20SharePoint%20recognizes%20permissioning%20and%20normally%20only%20displays%20search%20results%20that%20the%20user%20viewing%20the%20results%20has%20access%20to.%20If%20you%20happened%20to%20remove%20the%20group%20that%20you%2C%20yourself%20are%20in%20from%20a%20folder%20or%20file%20.%20.%20.%20then%20you%20won't%20see%20it%20in%20the%20search%20results%20because%20you%20no%20longer%20have%20access%20to%20it.%20If%20that%20is%20not%20the%20case%2C%20then%20you%20will%20want%20to%20check%20the%20advanced%20settings%20on%20the%20document%20library%20and%20make%20sure%20that%20it%20doesn't%20have%20search%20turned%20off%20for%20the%20items%20in%20the%20library.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2682208%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%20search%20folders%20with%20custom%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2682208%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3ESo%20I%20am%20member%20of%20the%20security%20group%20that%20grants%20access%20to%20the%20folders%2C%20I%20can%20access%20all%20the%20subfolders%20and%20documents.%26nbsp%3BI%20also%20tried%20reindex%20the%20sharepoint%20library.%3C%2FP%3E%3CP%3EBut%20the%20search%20engine%20still%20won't%20find%20anything%20in%20the%20folders%20where%20I%20granted%20custom%20permissions%20and%20removed%20%22Sharepoint%20-%20Members%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20still%20investigating%20on%20this.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello everyone,

 

I have a document library on a Sharepoint online site with many folders. I applied specific permissions on the folders, adding security groups and removing the sharepoint members, for more granular control to access the folders.

I noticed that the search engine doesn't find the documents and folders that don't have the permission "Sharepoint - Members" assigned.

Do you know how I can fix this ?

4 Replies
@Guewen Are you in the SharePoint - Members group or in an Owners group or administrators permissions group? SharePoint recognizes permissioning and normally only displays search results that the user viewing the results has access to. If you happened to remove the group that you, yourself are in from a folder or file . . . then you won't see it in the search results because you no longer have access to it. If that is not the case, then you will want to check the advanced settings on the document library and make sure that it doesn't have search turned off for the items in the library.

Thank you for your reply.

So I am member of the security group that grants access to the folders, I can access all the subfolders and documents. I also tried reindex the sharepoint library.

But the search engine still won't find anything in the folders where I granted custom permissions and removed "Sharepoint - Members".

 

I'm still investigating on this. 

 

Update :
I can find the items I'm searching when I click "Expand search to all items in this site".
When searching items using the search bar from the document library web page, it's not finding them.
best response confirmed by Guewen (New Contributor)
Solution
Resolved :
The search doesn't work if the user is owner of the sharepoint ! Had to remove the users from being a sharepoint owner and add him to the security group granting access to the folders. Then the search is working as intended.