Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@garrytrinder
Copy link
Member

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/

@joakimhogberg
Copy link
Contributor

joakimhogberg commented Feb 7, 2020

Feel free to assign me @garrytrinder !

@garrytrinder
Copy link
Member Author

Sure, all yours @joakimhogberg 👍🏻

garrytrinder pushed a commit to garrytrinder/cli-microsoft365 that referenced this issue Feb 15, 2020
@waldekmastykarz waldekmastykarz added this to the v2.7 milestone Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment