Skip to content

New command: m365 graph directoryextension list #6615

Closed
@MartinM85

Description

@MartinM85

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

  • id
  • name
  • appDisplayName

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions