graph openextension remove
Removes a specific open extension for a resource
Usage
m365 graph openextension remove [options]
Options
-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, --forceDon't prompt for confirmation.
-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.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
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 john.doe@contoso.com --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
Response
The command won't return a response on success.