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
Usage
m365 aad group remove [options]
Description
Removes an Azure AD group
Options
-i, --id [id]idordisplayNamebut not both.-n, --displayName [displayName]idordisplayNamebut not both.-f, --forceExamples
Remove an Azure AD group by display name
Remove an Azure AD group by ID
Default properties
No response
Additional Info
https://learn.microsoft.com/en-us/graph/api/group-delete?view=graph-rest-1.0&tabs=http