Forum Discussion
Distinguish b/w Sites created for SharePoint, Office groups, Planner, Videos and so on in PowerShell
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
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.