pnp / pnp/cli-microsoft365

New command: `spe containertype permission list`

Open
#6,764 9 comments 0 reactions 1 assignee View on GitHub

@milanholemans is already working on this.

Since Oct 13, 2025.

needs design new feature
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Usage

m365 spe containertype permission list [options]

Description

Lists all permissions of a container type

Options
Option Description
-i, --containerTypeId [containerTypeId] The ID of the container type. Specify either containerTypeId or containerTypeName but not both.
-n, --containerTypeName [containerTypeName] The name of the container type. Specify either containerTypeId or containerTypeName but not both.
Examples

Lists all permissions of a container type by ID

m365 spe containertype permission list --containerTypeId 4ec4aefd-4fa3-0e4a-20c3-6e68389e7138

Lists all permissions of a container type by name

m365 spe containertype permission list --containerTypeName "Contoso container type"
Default properties
  • appId
Additional Info
  • This command can only be called with delegated permissions

API request:

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.