pnp/cli-microsoft365
View on GitHubEnhance `spo site list` to return archived sites
Open
#6,547 opened on Jan 4, 2025
hacktoberfestnew featurework in progress
Repository metrics
- Stars
- (1,390 stars)
- PR merge metrics
- (PR metrics pending)
Description
Idea
Let's enhance the command spo site list to return sites that are archived using spo site archive.
The idea is to expand option --type [type] with extra options: fullyArchived, recentlyArchived, and archived.
Let's make sure that we use the same API that is currently being used. The output of the command cannot alter.
Remarks
(Include these remarks in the docs to make it clearer)
When providing a value for option type, consider the following:
fullyArchived: return sites that are fully archived (longer than 7 days)recentlyArchived: return sites that are recently archived (within 7 days)archived: return both recently archived and fully archived sites