-
Notifications
You must be signed in to change notification settings - Fork 375
Open
Description
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-05943f9c7b36Default 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
Reactions are currently unavailable