Skip to content

New command: outlook calendargroup list #7074

@milanholemans

Description

@milanholemans

Usage

m365 outlook calendargroup list [options]

Description

Retrieves calendar groups from a user.

Options

Option Description
--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.

Examples

Retrieve all calendar groups from the current signed in user.

m365 outlook calendargroup list --userId "@meId"

Retrieve all calendar groups from a specific user by email.

m365 outlook calendargroup list --userName "john.doe@contoso.com"

Retrieve all calendar groups from a specific user by ID.

m365 outlook calendargroup list --userId b743445a-112c-4fda-9afd-05943f9c7b36

Default properties

  • id
  • name

Additional Info

  • Is it possible to list calendar groups of someone else while using delegated permissions? If not, we should make sure the user cannot pass any user-related options.

API: https://learn.microsoft.com/en-us/graph/api/user-list-calendargroups?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions