Forum Discussion
EVERTON BATISTA PETRO ALEXANDRE
Oct 15, 2018Brass Contributor
Result Source to get all documents and list items about office 365 Groups (Teams)
Hello I am using the SharePoint Search to create a result source. This result source should return all documents/list_items about Office 365 Groups (teams). I tried to use "WebTemplate:Group", b...
Alan Marshall
Oct 15, 2018Iron Contributor
If by chance you specified all new group based team sites to be created under /teams/ you could filter based on path starts with. You can't use the out of the box Path managed search property as it is set to exact match so map it to one of the refinablestringxx fields and use that.
- EVERTON BATISTA PETRO ALEXANDREOct 15, 2018Brass Contributor
Sorry Alan Marshall, I didn't understand...
you suggested using the starts with and path property, however my organization has about 100 team project. So I can not put the 100 items, like Path: // https: //tst.sharepoint.com/siteteams ....
The other solution with the refinablestringxx I did not understand. Could you give me more details, please?
Thank you!
- Alan MarshallOct 16, 2018Iron ContributorThe assumption to make this work is that all your O365 groups start with the URL https://tenant.sharepoint.com/teams/.
You will need to go to SharePoint Admin and Search schema, pick a refinablestringxx and edit the mapping to include Path. You can then use that refinablestringxx in your query to do a string * match to the above URL- EVERTON BATISTA PETRO ALEXANDREOct 16, 2018Brass Contributor
Hello Alan Marshall, thanks by reply. No, the microsoft teams url starts with https://tenant.sharepoint.com/sites/...
The problem is... there are another sharepoint site collections under https://tenant.sharepoint.com/sites/. Can I migrate the teams sites? Or change the url? I, like 365 admin, can to do this? Or do I need a Microsoft intervention?
Thank very much!!!
Everton