Mar 19 2021 12:05 PM
Hello,
Please do you know how to list team sites created manually by a user and not automatically by a Teams group with Powershell. I do not have an authorization tenant administrator.
I use
Get-PnPSiteSearchQueryResults -All to list all sites and then to use PnpConnect and CSOM to load information, but all team sites have WebTemplate "Group".
Thank you
Best regards
Mar 19 2021 12:51 PM
Hey @Giraud965
I am afraid it would be difficult to tell if a 'Team site' is related to 'Teams' or not just by looking at data from Sharepoint, All sharepoint cares about is the site template ( Group#0) the reports wont show how it was provisioned. Now if you have admin access to the tenant things become easy and you can simply look it up in active groups to know which groups have teams enabled, also via exchange admin powershell you can look at Get-unifiedgroup (Resourceprovisioningoptions) etc., basically you look at the office 365 group and figure out how it was provisioned.
Mar 21 2021 02:38 PM
Hello @harveer singh,
Thank you very much for your answer and your help !!
I confirm, I did'nt find this information on the SharePoint side
Very good day