Skip to content

New command: m365 graph openextension remove #6637

@martinlingstuyl

Description

@martinlingstuyl

Usage

m365 graph openextension remove [options]

Description

Removes a specific open extension for a resource

Options

Option Description
-n, --name <name> The name of the open extension to remove.
-i, --resourceId <resourceId> The Id of the resource for which to remove the open extension.
-t, --resourceType <resourceType> The type of resource. Allowed values are user, group, device, organization.
-f, --force Don't prompt for confirmation.

Examples

Remove a specified open extension for a user specified by id

m365 graph openextension remove --resourceId eb77fbcf-6fe8-458b-985d-1747284793bc --name 'com.contoso.roamingSettings' --resourceType user

Remove a specified open extension for a user specified by UPN without confirmation prompt

m365 graph openextension remove --resourceId [email protected] --name 'com.contoso.roamingSettings' --resourceType user --force

Remove a specified open extension for a group specified by id

m365 graph openextension remove --resourceId c956e711-f074-40c3-8431-fbd69bb67d9c --name 'com.contoso.groupSettings' --resourceType group

Request & Response

DELETE https://graph.microsoft.com/v1.0/users/48d31887-5fad-4d73-a9f5-3c356e68a038/extensions/com.contoso.roamingSettings

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