Skip to main content

spe container permission list

Lists permissions of a SharePoint Embedded Container

Usage

m365 spe container permission list [options]

Options

-i, --containerId <id>

The ID of the SharePoint Embedded Container.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Lists Container permissions.

m365 spe container permission list --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"

Response

[
{
"id": "X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t",
"roles": [
"owner"
],
"grantedToV2": {
"user": {
"displayName": "John Doe",
"email": "john.doe@contoso.onmicrosoft.com",
"userPrincipalName": "john.doe@contoso.onmicrosoft.com"
}
}
}
]