Skip to main content

graph schemaextension list

Get a list of schemaExtension objects created in the current tenant, that can be InDevelopment, Available, or Deprecated.

Usage

m365 graph schemaextension list [options]

Options

-s, --status [status]

The status to filter on. Available values are Available, InDevelopment, Deprecated

--owner [owner]

The id of the owner to filter on

-p, --pageSize [pageSize]

Number of objects to return

-n, --pageNumber [pageNumber]

Page number to return if pageSize is specified (first page is indexed as value of 0)

-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

pageNumber is specified as a 0-based index. A value of 2 returns the third page of items.

Examples

Get a list of schemaExtension objects created in the current tenant, that can be InDevelopment, Available, or Deprecated.

m365 graph schemaextension list 

Get a list of schemaExtension objects created in the current tenant, with the specified owner.

m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e

Get a list of schemaExtension objects created in the current tenant, with the specified owner and return the third page of results of 10.

m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --pageNumber 2 --pageSize 10

Response

[
{
"id": "adatumisv_exo2",
"description": "sample description",
"targetTypes": [
"Message"
],
"status": "Available",
"owner": "617720dc-85fc-45d7-a187-cee75eaf239e",
"properties": [
{
"name": "p1",
"type": "String"
},
{
"name": "p2",
"type": "String"
}
]
}
]

More information

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/schemaextension_list

CTRL + M