pnp/cli-microsoft365

Enhance `spo site list` to return archived sites

Open

#6,547 opened on 2025年1月4日

GitHub で見る
 (16 comments) (0 reactions) (1 assignee)TypeScript (399 forks)auto 404
hacktoberfestnew featurework in progress

Repository metrics

Stars
 (1,390 stars)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド