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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--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
- JSON
- Text
- CSV
- Markdown
[
{
"id": "X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t",
"roles": [
"owner"
],
"grantedToV2": {
"user": {
"displayName": "John Doe",
"email": "john.doe@contoso.onmicrosoft.com",
"userPrincipalName": "john.doe@contoso.onmicrosoft.com"
}
}
}
]
id userPrincipalName roles
-------------------------------------------------------------------- -------------------------------- ------
X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t john.doe@contoso.onmicrosoft.com owner
id,roles,userPrincipalName
X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t,owner,john.doe@contoso.onmicrosoft.com
# spe container permission list --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
Date: 3/3/2025
## X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t
Property | Value
---------|-------
id | X2k6MCMuZnxtZW1iZXJzaGlwfGRlYnJhYkBuYWNoYW4zNjUub25taWNyb3NvZnQuY29t
roles | owner
userPrincipalName | john.doe@contoso.onmicrosoft.com