Search a share point document library within teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1480849%22%20slang%3D%22en-US%22%3ESearch%20a%20share%20point%20document%20library%20within%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1480849%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EWe%20have%20just%20created%20a%20new%20team%20and%20plan%20on%20using%20teams%20throughout%20the%20company.%20We%20uploaded%20a%20mass%20amount%20of%20files%20into%20a%20SP%20document%20library%20and%20added%20it%20as%20a%20tab%20in%20teams.%20The%20issue%20is%20we%20cannot%20figure%20out%20how%20to%20search%20it%3F%20When%20we%20search%20it%20and%20select%20the%20team%20no%20files%20come%20up.%20Even%20if%20we%20write%20in%20the%20exact%20file%20name.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1480849%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483081%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20a%20share%20point%20document%20library%20within%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483081%22%20slang%3D%22en-US%22%3EIs%20the%20Document%20Library%20with%20all%20the%20content%20part%20of%20a%20different%20SharePoint%20site%20than%20the%20Microsoft%20Teams%20team%20you%20have%20added%20the%20tab%20to%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20so%2C%20then%20when%20searching%20within%20the%20Teams%20app%20results%20will%20not%20be%20returned%20from%20this%20library.%20The%20Teams%20app%20only%20returns%20file%20results%20from%20SharePoint%20sites%20that%20exist%20to%20support%20a%20Microsoft%20Teams%20team%20(every%20Team%20you%20create%20has%20an%20associated%20SharePoint%20site%20to%20manage%20that%20teams%20channel%20files).%3CBR%20%2F%3E%3CBR%20%2F%3EA%20few%20suggestions%3A%3CBR%20%2F%3EPeople%20search%20for%20files%20via%20the%20Office.com%20or%20SharePoint%20start%20page%3CBR%20%2F%3ECreate%20a%20Team%20for%20the%20SharePoint%20site%20hosting%20the%20content%2C%20or%20move%20the%20content%20into%20a%20Team.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483301%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20a%20share%20point%20document%20library%20within%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483301%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35502%22%20target%3D%22_blank%22%3E%40James%20Mallalieu%3C%2FA%3E%26nbsp%3BThis%20was%20a%20site%20that%20was%20create%20when%20the%20Team%20was%20created.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThats%20why%20im%20having%20a%20hard%20time%20understanding%20why%20search%20will%20not%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483420%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20a%20share%20point%20document%20library%20within%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483420%22%20slang%3D%22en-US%22%3ETry%20this%2C%20go%20to%20a%20channel%20in%20the%20team%2C%20select%20the%20files%20tab%20then%20%22open%20in%20SharePoint%22.%20Go%20to%20the%20home%20page%20of%20the%20SharePoint%20site%20and%20perform%20a%20search.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20your%20files%20are%20not%20returned%2C%20go%20to%20the%20document%20library%20containing%20the%20files%20and%20check%20the%20following%20via%20the%20library%20settings%20option%20(via%20the%20cog)%3A%3CBR%20%2F%3E1)%20Manage%20files%20with%20no%20checked%20in%20version%20-%20Ensure%20your%20files%20have%20been%20checked%20in%3CBR%20%2F%3E2)%20Advanced%20settings%26gt%3BAllow%20items%20from%20this%20document%20library%20to%20appear%20in%20search%20results%20-%20should%20be%20set%20to%20Yes%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

We have just created a new team and plan on using teams throughout the company. We uploaded a mass amount of files into a SP document library and added it as a tab in teams. The issue is we cannot figure out how to search it? When we search it and select the team no files come up. Even if we write in the exact file name. 

3 Replies
Highlighted
Is the Document Library with all the content part of a different SharePoint site than the Microsoft Teams team you have added the tab to?

If so, then when searching within the Teams app results will not be returned from this library. The Teams app only returns file results from SharePoint sites that exist to support a Microsoft Teams team (every Team you create has an associated SharePoint site to manage that teams channel files).

A few suggestions:
People search for files via the Office.com or SharePoint start page
Create a Team for the SharePoint site hosting the content, or move the content into a Team.
Highlighted

@James Mallalieu This was a site that was create when the Team was created. 

 

Thats why im having a hard time understanding why search will not work.

Highlighted
Try this, go to a channel in the team, select the files tab then "open in SharePoint". Go to the home page of the SharePoint site and perform a search.

If your files are not returned, go to the document library containing the files and check the following via the library settings option (via the cog):
1) Manage files with no checked in version - Ensure your files have been checked in
2) Advanced settings>Allow items from this document library to appear in search results - should be set to Yes