Skip to content

aad groupsetting remove

Removes the particular group setting

Usage

m365 aad groupsetting remove [options]

Options

-i, --id <id>
The ID of the group setting to remove
--confirm
Don't prompt for confirming removing the group setting
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

If the specified id doesn't refer to an existing group setting, you will get a Resource does not exist error.

Examples

Remove group setting with id 28beab62-7540-4db1-a23f-29a6018a3848. Will prompt for confirmation before removing the group setting

m365 aad groupsetting remove --id 28beab62-7540-4db1-a23f-29a6018a3848

Remove group setting with id 28beab62-7540-4db1-a23f-29a6018a3848 without prompting for confirmation

m365 aad groupsetting remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --confirm