When I execute the following command:
o365$ spo site classic list
A combined list of modern and classic experiences site collections will be returned.
o365$ spo site list
A list of only the modern site collections will be returned. Wouldn't it be better to only list all site collections including a classification if the site is in modern or classic experience?
As far as I know, at the moment there is no API that we could use to list all sites including their classification. Instead, we'd have to include it one-by-one, which would be slow. Using the commands that we have today, you can easily choose if you want to retrieve all or only modern sites. If in the future, a new API will be made available, that makes it possible to retrieve sites as you mentioned, we'd definitely update the implementation and use it instead.
Thank you thought so. ;)
Just looked wired in first place.
It is weird, and it's just one of many intricacies in SharePoint 馃槈