Skip to content

New command: m365 spe container list #6082

@Adam-it

Description

@Adam-it

Usage

m365 spe container list [options]

Description

Lists 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 containers of a specific type

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

Default properties

  • id
  • displayName
  • containerTypeId
  • createdDateTime

Additional Info

We may use the following GET request to get this:

/storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId}

https://learn.microsoft.com/en-us/graph/api/filestorage-list-containers?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions