pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
882 stars 312 forks source link

New command: m365 spe container restore #6085

Open Adam-it opened 3 weeks ago

Adam-it commented 3 weeks ago

Usage

m365 spe container restore [options]

Description

Restores a deleted container

Options

Option Description
-i, --id <id> Container id

Examples

Restores deleted container

m365 spe container restore --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"

Default properties

No response

Additional Info

we may use the following POST request:

/deletedStorageContainers/{containerId}/restore

what's worth noticing is that it is still beta

https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-restore?view=graph-rest-beta

Adam-it commented 1 week ago

@pnp/cli-for-microsoft-365-maintainers any feed or could we open this up?