Skip to content

Enhancement: Extend spo site list to return deleted site collections #1335

@garrytrinder

Description

@garrytrinder

Raised from #649

We currently do not support the returning of deleted site collections however this functionality is provided in the Get-SPODeletedeSite cmdlet in the SharePoint Online PowerShell module.

The spo site list command should be extended to include a new option called --deleted which returns a list of site collections that have been deleted on the tenant.

This enhancement to the spo site list command adds the same functionality provide by the aad o365group list command which has the --deleted option already implemented.

aad o365group list - https://pnp.github.io/office365-cli/cmd/aad/o365group/o365group-list/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions