-
Notifications
You must be signed in to change notification settings - Fork 346
Open
Description
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