Usage
m365 spe container recyclebinitem restore [options]
Description
Restores a deleted container
Options
| Option |
Description |
-i, --id [id] |
Container id. Specify either id or name but not both. |
-n, --name [name] |
Display name of the Container. Specify either id or name but not both. |
Examples
Restores deleted container
m365 spe container recyclebinitem restore --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
Default properties
No response
Additional Info
we may use the following POST request:
/deletedStorageContainers/{containerId}/restore
Also when using name option we will need to run the /fileStorage/containers to list all containers and match the container by name.
what's worth noticing is that it is still beta
https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-restore?view=graph-rest-beta
Usage
m365 spe container recyclebinitem restore [options]
Description
Restores a deleted container
Options
-i, --id [id]idornamebut not both.-n, --name [name]idornamebut not both.Examples
Restores deleted container
m365 spe container recyclebinitem restore --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"Default properties
No response
Additional Info
we may use the following
POSTrequest:Also when using
nameoption we will need to run the/fileStorage/containersto list all containers and match the container by name.what's worth noticing is that it is still
betahttps://learn.microsoft.com/en-us/graph/api/filestoragecontainer-restore?view=graph-rest-beta