Skip to content

New command: m365 spe container recyclebinitem list #6156

Closed
@Adam-it

Description

@Adam-it

Usage

m365 spe container recyclebinitem list [options]

Description

Lists deleted containers of a specific Container Type

Options

Option Description
--containerTypeId [containerTypeId] The Container Type Id of the container instance. Use either containerTypeId or containerTypeName but not both
--containerTypeName [containerTypeName] The Container Type name of the container instance. Use either containerTypeId or containerTypeName but not both.

Examples

List deleted containers of a specific type

m365 spe container recyclebinitem list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"

List deleted containers of a specific type by name

m365 spe container recyclebinitem list --containerTypeName "Private Files"

Default properties

  • id
  • displayName
  • containerTypeId
  • createdDateTime

Additional Info

to get deleted items we may use

beta/storage/fileStorage/deletedContainers?$filter=containerTypeId eq {containerTypeId}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions