Skip to main content

graph openextension list

Retrieves all open extensions for a resource

Usage

m365 graph openextension list [options]

Options

-i, --resourceId <resourceId>

The Id of the resource for which to retrieve open extensions.

-t, --resourceType <resourceType>

The type of resource. Allowed values are user, group, device, organization.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, 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

Retrieve open extensions for a user specified by id

m365 graph openextension list --resourceId eb77fbcf-6fe8-458b-985d-1747284793bc --resourceType user

Retrieve open extensions for a user specified by UPN

m365 graph openextension list --resourceId john.doe@contoso.com --resourceType user

Retrieve open extensions for a group specified by id

m365 graph openextension list --resourceId 19588303-70bf-44a4-beb1-e2f0f1ed06b3 --resourceType group

Retrieve open extensions for an organization specified by id

m365 graph openextension list --resourceId c956e711-f074-40c3-8431-fbd69bb67d9c --resourceType organization

Response

[
{
"extensionName": "com.contoso.roamingSettings",
"theme": "dark",
"color": "purple",
"lang": "Japanese",
"id": "com.contoso.roamingSettings"
},
{
"extensionName": "com.test.m365",
"settings": {
"theme": "dark"
},
"supportedSystem": "Linux",
"id": "com.test.m365"
}
]

More information

CTRL + M