Skip to main content

graph schemaextension remove

Removes specified Microsoft Graph schema extension

Usage​

m365 graph schemaextension remove [options]

Options​

-i, --id <id>

The unique identifier for the schema extension definition

--confirm

Don't prompt for confirming removing the specified schema extension

-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 full.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks​

To remove specified schema extension definition, you have to pass the ID of the schema extension.

Examples​

Removes specified Microsoft Graph schema extension with ID domain_myExtension. Will prompt for confirmation

m365 graph schemaextension remove --id domain_myExtension 

Removes specified Microsoft Graph schema extension with ID domain_myExtension without prompt for confirmation

m365 graph schemaextension remove --id domain_myExtension --confirm

Response​

The command won't return a response on success.