Usage
m365 graph directoryextension list [options]
Description
Retrieves a list of directory extensions
Options
| Option |
Description |
--appId [appId] |
Application (client) ID of the Entra application where the directory extensions are registered. Specify either appId, appObjectId or appName, but not multiple. |
--appObjectId [appObjectId] |
Object ID of the Entra application where the directory extensions are registered. Specify either appId, appObjectId or appName, but not multiple. |
--appName [appName] |
The name of Entra application where the directory extensions are registered. Specify either appId, appObjectId or appName, but not multiple. |
Examples
Get all available directory extensions including those registered for multi-tenant apps
m365 graph directoryextension list
Get all directory extensions registered for an application specified by app id
m365 directoryextension list --appId fd918e4b-c821-4efb-b50a-5eddd23afc6f
Default properties
Additional Info
When neither appId, appObjectId nor appName is specified, the command will return all available directory extensions including those registered for multi-tenant apps.
https://learn.microsoft.com/en-us/graph/api/directoryobject-getavailableextensionproperties?view=graph-rest-1.0&tabs=http
Otherwise, it will return directory extensions for a specific application
https://learn.microsoft.com/en-us/graph/api/application-list-extensionproperty?view=graph-rest-1.0&tabs=http
Usage
m365 graph directoryextension list [options]
Description
Retrieves a list of directory extensions
Options
--appId [appId]appId,appObjectIdorappName, but not multiple.--appObjectId [appObjectId]appId,appObjectIdorappName, but not multiple.--appName [appName]appId,appObjectIdorappName, but not multiple.Examples
Get all available directory extensions including those registered for multi-tenant apps
Get all directory extensions registered for an application specified by app id
Default properties
Additional Info
When neither
appId,appObjectIdnorappNameis specified, the command will return all available directory extensions including those registered for multi-tenant apps.https://learn.microsoft.com/en-us/graph/api/directoryobject-getavailableextensionproperties?view=graph-rest-1.0&tabs=http
Otherwise, it will return directory extensions for a specific application
https://learn.microsoft.com/en-us/graph/api/application-list-extensionproperty?view=graph-rest-1.0&tabs=http