outlook calendar add
Creates a new calendar for a user
Usage
m365 outlook calendar add [options]
Options
--userId [userId]ID of the user. Specify either
userIdoruserName, but not both.--userName [userName]UPN of the user. Specify either
userIdoruserName, but not both.--name <name>Name of the calendar.
--calendarGroupId [calendarGroupId]Id of the group where the calendar will belong. Specify either
calendarGroupIdorcalendarGroupName, but not both.--calendarGroupName [calendarGroupName]Name of the group where the calendar will belong. Specify either
calendarGroupIdorcalendarGroupName, but not both.--color [color]The color of the calendar in UI. Allowed values are
auto,lightBlue,lightGreen,lightOrange,lightGray,lightYellow,lightTeal,lightPink,lightBrown,lightRed,maxColor. Defaults toauto.--defaultOnlineMeetingProvider [defaultOnlineMeetingProvider]The default online meeting provider for meetings sent from the calendar. Allowed values are
none,teamsForBusiness. Defaults toteamsForBusiness.--defaultSpecify whether the calendar will be the default calendar for new events.
-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.ReadWrite |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Calendars.ReadWrite |
Examples
Create a new calendar for a user in a default calendar's group
m365 outlook calendar add --userId '@meId' --name 'Holidays'
Create a new calendar for a user specified by email in a specific calendar group and defined color
m365 outlook calendar add --userName 'john.doe@contoso.com' --name 'Interviews' --calendarGroupId 'AAMkADY1YmE3N2FhLWEwMz' --color 'lightBlue'
Response
- JSON
- Text
- CSV
- Markdown
{
"id": "AQMkAGRlMCQAAAA==",
"name": "My Calendars",
"color": "auto",
"hexColor": "",
"groupClassId": "0006f0b7-0000-0000-c000-000000000046",
"isDefaultCalendar": false,
"changeKey": "fJKVL07sbkmIfHqjbDnRgQACxSYYpw==",
"canShare": true,
"canViewPrivateItems": true,
"canEdit": true,
"allowedOnlineMeetingProviders": [
"teamsForBusiness"
],
"defaultOnlineMeetingProvider": "teamsForBusiness",
"isTallyingResponses": false,
"isRemovable": true,
"owner": {
"name": "John Doe",
"address": "john.doe@contoso.com"
}
}
allowedOnlineMeetingProviders: ["teamsForBusiness"]
canEdit : true
canShare : true
canViewPrivateItems : true
changeKey : fJKVL07sbkmIfHqjbDnRgQACxSYYug==
color : auto
defaultOnlineMeetingProvider : teamsForBusiness
groupClassId : 0006f0b7-0000-0000-c000-000000000046
hexColor :
id : AQMkAGRlMCQAAAA==
isDefaultCalendar : false
isRemovable : true
isTallyingResponses : false
name : My Calendars
owner : {"name":"John Doe","address":"john.doe@contoso.com"}
id,name,color,hexColor,groupClassId,isDefaultCalendar,changeKey,canShare,canViewPrivateItems,canEdit,defaultOnlineMeetingProvider,isTallyingResponses,isRemovable
AQMkAGRlMCQAAAA==,My Calendars,auto,,0006f0b7-0000-0000-c000-000000000046,0,fJKVL07sbkmIfHqjbDnRgQACxSYYzQ==,1,1,1,teamsForBusiness,0,1
# outlook calendar add --userId "893f9116-e024-4bc6-8e98-54c245129485" --name "My Calendars"
Date: 2/5/2026
## My Calendars (AQMkAGRlMCQAAAA==)
Property | Value
---------|-------
id | AQMkAGRlMCQAAAA==
name | My Calendars
color | auto
hexColor |
groupClassId | 0006f0b7-0000-0000-c000-000000000046
isDefaultCalendar | false
changeKey | fJKVL07sbkmIfHqjbDnRgQACxSYY4A==
canShare | true
canViewPrivateItems | true
canEdit | true
defaultOnlineMeetingProvider | teamsForBusiness
isTallyingResponses | false
isRemovable | true