Skip to content

New command: aad group remove #5426

@milanholemans

Description

@milanholemans

Usage

m365 aad group remove [options]

Description

Removes an Azure AD group

Options

Option Description
-i, --id [id] The ID of the Azure AD group. Specify either id or displayName but not both.
-n, --displayName [displayName] The display name of the Azure AD group. Specify either id or displayName but not both.
-f, --force Don't prompt for confirmation.

Examples

Remove an Azure AD group by display name

m365 aad group remove --displayName Developers

Remove an Azure AD group by ID

m365 aad group remove --id 016bf125-195b-43c5-a1a0-28ccd3192c6d

Default properties

No response

Additional Info

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions