entra group remove
Removes an Entra group
Usage
m365 entra group remove [options]
Options
-i, --id [id]The ID of the Entra group. Specify either
idordisplayNamebut not both.-n, --displayName [displayName]The display name of the Entra group. Specify either
idordisplayNamebut not both.-f, --forceDon't prompt for confirmation.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Group.ReadWrite.All |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Group.ReadWrite.All |
Examples
Remove an Entra group by display name
m365 entra group remove --displayName Developers
Remove an Entra group by ID
m365 entra group remove --id 016bf125-195b-43c5-a1a0-28ccd3192c6d
Response
The command won't return a response on success.