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

-f, --force

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, permissions, 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.

Remarks​

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

Permissions​

ResourcePermissions
Microsoft GraphApplication.ReadWrite.All

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 --force

Response​

The command won't return a response on success.