Forum Discussion

kesava v's avatar
kesava v
Copper Contributor
Oct 24, 2017

Distinguish b/w Sites created for SharePoint, Office groups, Planner, Videos and so on in PowerShell

We are writing powerShell commands to extract Site Admins from all the site collections in the tenant. during this process, i am getting sites that are not only related to SharePoint but also Office groups, Planner, Videos and so on. 

 

Does anyone has a viable solution i can segregate the sites specific to SharePoint ? This is a serious problem especially now we have several other services under Office 365 and it's confusing and time consuming to identify the sites for each service.

 

5 Replies

  • The quick fix here would be to take a few minutes to create a standard filter for the URLs to these services and apply it; if you're using PowerShell you could probably create a script that would exclude those URLs fairly easily. They typically have a root directory that differentiates them from SharePoint. It would take some time but would super fixed once you had it. 

     

    Also, you're probably not the only one who would appreciate that script! 

     

    https://sharepoint.stackexchange.com/questions/209844/online-powershell-script-to-get-list-of-site-collection-admins-required

    • kesava v's avatar
      kesava v
      Copper Contributor

      you mean to say we need to look for specific library in each site/site collection to identify whether it is a  SharePoint site or not  

       

      there should be a way to differentiate. MSFT should consider this for a solution with an API/PS commands.

    • kesava v's avatar
      kesava v
      Copper Contributor

      you mean to say we need to look for specific library in each site/site collection to identify whether it is a  SharePoint site or not  

       

      That's really too much and there should be a way to differentiate. MSFT should consider this for a solution with an API/PS commands.

    • kesava v's avatar
      kesava v
      Copper Contributor

      you mean to say we need to look for specific library in each site/site collection to identify whether it is a  SharePoint site or not ? 

       

      That's really too much and there should be a way to differentiate. MSFT should consider this for a solution with an API/PS commands.

  • AFAIK, there is not yet a supported solution to achieve this...however I have seen in the TechCommunity some workarounds to get this information but not officially supported by Microsoft

Resources