List available classic sites.
- command:
spo site classic list -f|--filter [filter] -t|--webTemplate [webTemplate] --includeOneDriveSites
filter - filter to apply when retrieving sites, eg. to retrieve sites with specific URL fragment, optional
webTemplate - only show sites of the specified web template, eg STS#0, optional
includeOneDriveSites - include personal sites in the listing, optional
- requires connection to tenant admin site
For each site display URL and title. Get info by mimicking the call to the Tenant.GetSiteProperties() method or Tenant.GetSitePropertiesFromSharePointByFilters() if the filter or web template was passed. The value of the detailed argument doesn't have any effect on the retrieved data. When retrieving available site collections, keep in mind that SharePoint returns up to 300 site collections per batch and it might be necessary to issue the request multiple times to get all of them.
List available classic sites.
spo site classic list -f|--filter [filter] -t|--webTemplate [webTemplate] --includeOneDriveSitesfilter- filter to apply when retrieving sites, eg. to retrieve sites with specific URL fragment, optionalwebTemplate- only show sites of the specified web template, egSTS#0, optionalincludeOneDriveSites- include personal sites in the listing, optionalFor each site display URL and title. Get info by mimicking the call to the Tenant.GetSiteProperties() method or Tenant.GetSitePropertiesFromSharePointByFilters() if the filter or web template was passed. The value of the
detailedargument doesn't have any effect on the retrieved data. When retrieving available site collections, keep in mind that SharePoint returns up to 300 site collections per batch and it might be necessary to issue the request multiple times to get all of them.