Skip to content

New command: m365 graph openextension list #6635

@martinlingstuyl

Description

@martinlingstuyl

Usage

m365 graph openextension list [options]

Description

Retrieves all open extensions for a resource

Options

Option Description
-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.

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 [email protected] --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

Request & Response

GET https://graph.microsoft.com/v1.0/users/48d31887-5fad-4d73-a9f5-3c356e68a038/extensions
{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('48d31887-5fad-4d73-a9f5-3c356e68a038')/extensions",
    "value": [
        {
            "@odata.type": "#microsoft.graph.openTypeExtension",
            "theme": "dark",
            "color": "purple",
            "lang": "Japanese",
            "extensionName": "com.contoso.roamingSettings",
            "id": "com.contoso.roamingSettings"
        }
    ]
}

Default properties

The only relevant properties to show in the text view: id, extensionName. The actual values are only shown in json view.

Additional Info

The open extensions can have one or more custom properties.

More info:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions