Skip to main content

graph schemaextension get

Gets the properties of the specified schema extension definition

Usage

m365 graph schemaextension get [options]

Options

-i, --id <id>

The unique identifier for the schema extension definition

-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 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 get properties of a schema extension definition, you have to pass the ID of the schema extension.

Examples

Gets properties of a schema extension definition with ID domain_myExtension

m365 graph schemaextension get --id domain_myExtension 

Response

{
"id": "extuf4mntoy_MySchemaExtension",
"description": "My Schema Extension",
"targetTypes": [
"Group"
],
"status": "InDevelopment",
"owner": "19b5bd1f-3d5e-404a-80f5-ca840b40a082",
"properties": [
{
"name": "myProp1",
"type": "Integer"
},
{
"name": "myProp2",
"type": "String"
}
]
}
CTRL + M