Skip to content

New command: m365 graph directoryextension remove #6614

@MartinM85

Description

@MartinM85

Usage

m365 graph directoryextension remove [options]

Description

Removes a directory extension

Options

Option Description
-i, --id [id] The ID of the directory extension. Specify either id or name, but not both.
-n, --name [name] The name of the directory extension. Specify either id or name, but not both.
--appId [appId] Application (client) ID of the Entra application where the directory extension is registered. Specify either appId, appObjectId or appName, but not multiple.
--appObjectId [appObjectId] Object ID of the Entra application where the directory extension is registered. Specify either appId, appObjectId or appName, but not multiple.
--appName [appName] The name of Entra application where the directory extension is registered. Specify either appId, appObjectId or appName, but not multiple.
--force Do not prompt for confirmation

Examples

Remove directory extension by id registered for an application specified by app id.

m365 directoryextension remove --id 1f0f15e3-925d-40f0-8fc8-9d3ad135bce0 --appId fd918e4b-c821-4efb-b50a-5eddd23afc6f

Remove directory extension by name registered for an application specified by name and do not prompt for confirmation

m365 directoryextension remove --name extension_105be60b603845fea385e58772d9d630_GitHubWorkAccount --appName ContosoApp

Default properties

No response

Additional Info

https://learn.microsoft.com/en-us/graph/api/extensionproperty-delete?view=graph-rest-1.0&tabs=http

I will work on it

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions