Skip to content

New command: outlook calendargroup set #7109

@MartinM85

Description

@MartinM85

Usage

m365 outlook calendargroup set [options]

Description

Updates 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.
--newName <newName> New name of the calendar group.

Examples

Update the calendar group specified by name for the current user

m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events" --userId "@meId"

Update the calendar group specified by id for a user

m365 outlook calendargroup set --id "AAMkADIxYjJiYm" --newName "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"

Update the calendar group specified by name for a user specified by email

m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events" --userName "john.doe@contoso.com"

Default properties

N/A

Additional Info

API: https://learn.microsoft.com/en-us/graph/api/calendargroup-update

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions