Usage
m365 outlook calendargroup remove
Description
Deletes a calendar group for a user
Options
| Option |
Description |
--id [id] |
Id of the calendar group. Specify either id or name, but not both. |
--name [name] |
Name of the calendar group. Specify either id or name, but not both. |
--userId [userId] |
ID of the user. Specify either userId or userName, but not both. |
--userName [userName] |
UPN of the user. Specify either userId or userName, but not both. |
-f, --force |
Don't prompt for confirmation. |
Examples
Delete the calendar group specified by name for the current user
m365 outlook calendargroup remove --name "Personal Events" --userId "@meId"
Delete the calendar group specified by id for a user
m365 outlook calendargroup remove --id "AAMkADIxYjJiYm" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
Delete the calendar group specified by name for a user specified by email and don't prompt for confirmation.
m365 outlook calendargroup set --name "Personal Events" --userName "john.doe@contoso.com" --force
Default properties
N/A
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/calendargroup-delete
Usage
m365 outlook calendargroup remove
Description
Deletes a calendar group for a user
Options
--id [id]idorname, but not both.--name [name]idorname, but not both.--userId [userId]userIdoruserName, but not both.--userName [userName]userIdoruserName, but not both.-f, --forceExamples
Delete the calendar group specified by name for the current user
Delete the calendar group specified by id for a user
Delete the calendar group specified by name for a user specified by email and don't prompt for confirmation.
Default properties
N/A
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/calendargroup-delete