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 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
.--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
- JSON
- Text
- CSV
- Markdown
{
"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"
}
]
}
description: My Schema Extension
id : extuf4mntoy_MySchemaExtension
owner : 19b5bd1f-3d5e-404a-80f5-ca840b40a082
properties : [{"name":"myProp1","type":"Integer"},{"name":"myProp2","type":"String"}]
status : InDevelopment
targetTypes: ["Group"]
id,description,status,owner
extuf4mntoy_MySchemaExtension,My Schema Extension,InDevelopment,19b5bd1f-3d5e-404a-80f5-ca840b40a082
# graph schemaextension get --id "extuf4mntoy_MySchemaExtension"
Date: 2023-05-22
## extuf4mntoy_MySchemaExtension
Property | Value
---------|-------
id | extuf4mntoy\_MySchemaExtension
description | My Schema Extension
status | InDevelopment
owner | 19b5bd1f-3d5e-404a-80f5-ca840b40a082