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, --forceDon'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 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.
Remarks
To remove specified schema extension definition, you have to pass the ID of the schema extension.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Application.ReadWrite.All |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Application.ReadWrite.All, Directory.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.