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,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
pageNumber is specified as a 0-based index. A value of 2 returns the third page of items.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | User.Read |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Application.Read.All |
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
- JSON
- Text
- CSV
- Markdown
[
{
"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"
}
]
}
]
id description targetTypes status owner properties
-------------- ------------------ ----------- --------- ------------------------------------ --------------------------------------------------------------
adatumisv_exo2 sample description Message Available 617720dc-85fc-45d7-a187-cee75eaf239e [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
id,description,status,owner,properties
adatumisv_exo2,sample description,Available,617720dc-85fc-45d7-a187-cee75eaf239e,"[{""name"":""p1"",""type"":""String""},{""name"":""p2"",""type"":""String""}]"
# graph schemaextension list
Date: 2023-05-22
## adatumisv_exo2
Property | Value
---------|-------
id | adatumisv\_exo2
description | sample description
status | Available
owner | 617720dc-85fc-45d7-a187-cee75eaf239e