outlook calendargroup get
Retrieves a calendar group for a user.
Usage
m365 outlook calendargroup get [options]
Options
--id [id]ID of the calendar group. Specify either
idorname, but not both.--name [name]Name of the calendar group. Specify either
idorname, but not both.--userId [userId]ID of the user. Specify either
userIdoruserName, but not both. This option is required when using application permissions.--userName [userName]UPN of the user. Specify either
userIdoruserName, but not both. This option is required when using application permissions.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read, Calendars.Read.Shared |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read |
When using delegated permissions, specifying userId or userName for a different user requires the Calendars.Read.Shared or Calendars.ReadWrite.Shared scope. When the specified user matches the signed-in user, no shared scope is needed.
Examples
Get the calendar group specified by name for the signed-in user.
m365 outlook calendargroup get --name "Personal Events"
Get the calendar group specified by name for a user using application permissions.
m365 outlook calendargroup get --name "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
Get the calendar group specified by id for a user using application permissions.
m365 outlook calendargroup get --id "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAABuC34AAA=" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
Response
- JSON
- Text
- CSV
- Markdown
{
"id": "AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=",
"name": "My Calendars",
"changeKey": "nfZyf7VcrEKLNoU37KWlkQAAA0x0+w==",
"classId": "0006f0b7-0000-0000-c000-000000000046"
}
id name
----------------------------------------------------------------------------------------------------------------------- ----------------
AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA= My Calendars
id,name
AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=,My Calendars
# outlook calendargroup get
Date: 3/20/2026
Property | Value
---------|-------
id | AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=
name | My Calendars