ESC
Type to search...

Calendars.ReadWrite

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read/Write User Scope

Allows the app to create, read, update, and delete events of all calendars without a signed-in user.

Delegated Access App-Only Access

Permission Details

Application Permission

Read and write calendars in all mailboxes

Allows the app to create, read, update, and delete events of all calendars without a signed-in user.

Delegated Permission User consent allowed

Have full access to user calendars

Allows the app to create, read, update, and delete events in user calendars.

Properties

Property Type Description
id string The unique identifier for an entity. Read-only.
owner object If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. Read-only.
multiValueExtendedProperties microsoft.graph.multiValueLegacyExtendedProperty collection The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
canViewPrivateItems booleanNullable true if the user can read calendar items that have been marked private, false otherwise. This property is set through an Outlook client or the corresponding calendarPermission resource. Read-only.
name stringNullable The calendar name.
defaultOnlineMeetingProvider object The default online meeting provider for meetings sent from this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
calendarPermissions microsoft.graph.calendarPermission collection The permissions of the users with whom the calendar is shared.
color object Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor.
isRemovable booleanNullable Indicates whether this user calendar can be deleted from the user mailbox.
canEdit booleanNullable true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access, through an Outlook client or the corresponding calendarPermission resource. Read-only.
singleValueExtendedProperties microsoft.graph.singleValueLegacyExtendedProperty collection The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
hexColor stringNullable The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty.
events microsoft.graph.event collection The events in the calendar. Navigation property. Read-only.
canShare booleanNullable true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. Read-only.
isDefaultCalendar booleanNullable true if this is the default calendar where new events are created by default, false otherwise.

Showing 15 of 22 properties. View all on Microsoft Learn →

Relationships

Relationship Type Description
calendarView event collection The calendar view for the calendar. Navigation property. Read-only.
events event collection The events in the calendar. Navigation property. Read-only.
singleValueExtendedProperties singleValueExtendedProperties collection The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
multiValueExtendedProperties multiValueExtendedProperties collection The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
calendarPermissions calendarPermission collection The permissions of the users with whom the calendar is shared.

Graph Methods

Delegated access App-only access
Methods
GET /groups/{id}/calendar
GET /groups/{id}/calendar/events
GET /groups/{id}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /me/calendar
GET /me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /me/calendar/events
GET /me/calendarGroups
GET /me/calendars
GET /me/calendarView/delta?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /me/settings/workHoursAndLocations
GET /me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}')
GET /me/settings/workHoursAndLocations/recurrences
GET /places/{placesId}/checkIns/{calendarEventId}
GET /users/{id | userPrincipalName}/calendar
GET /users/{id | userPrincipalName}/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /users/{id | userPrincipalName}/calendar/events
GET /users/{id | userPrincipalName}/calendarGroups
GET /users/{id | userPrincipalName}/calendars
GET /users/{id | userPrincipalName}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /users/{id | userPrincipalName}/reminderView(startDateTime={startDateTime-value},endDateTime={endDateTime-value})
GET /users/{id}/calendar/calendarPermissions
GET /users/{id}/calendar/calendarPermissions/{id}
GET /users/{id}/calendarView/delta?startDateTime={start_datetime}&endDateTime={end_datetime}
POST /groups/{groupsId}/calendar/permanentDelete
POST /groups/{groupsId}/calendarView/{eventId}/permanentDelete
POST /groups/{groupsId}/events/{eventId}/permanentDelete
POST /groups/{id}/calendar/events
POST /groups/{id}/calendar/events/{id}/cancel
POST /groups/{id}/conversations
POST /groups/{id}/conversations/{id}/threads/{id}/posts/{id}/reply
POST /groups/{id}/conversations/{id}/threads/{id}/reply
POST /groups/{id}/events
POST /groups/{id}/events/{id}/cancel
POST /groups/{id}/threads
POST /groups/{id}/threads/{id}/posts/{id}/reply
POST /groups/{id}/threads/{id}/reply
POST /me/calendar/events
POST /me/calendar/events/{id}/accept
POST /me/calendar/events/{id}/attachments
POST /me/calendar/events/{id}/cancel
POST /me/calendar/events/{id}/decline
POST /me/calendar/events/{id}/dismissReminder
POST /me/calendar/events/{id}/snoozeReminder
POST /me/calendar/events/{id}/tentativelyAccept
POST /me/calendar/getSchedule
POST /me/calendarGroups
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/accept
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/cancel
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/decline
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/dismissReminder
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/snoozeReminder
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/tentativelyAccept
POST /me/calendars
POST /me/calendars/{id}/events
POST /me/calendars/{id}/events/{id}/accept
POST /me/calendars/{id}/events/{id}/cancel
POST /me/calendars/{id}/events/{id}/decline
POST /me/calendars/{id}/events/{id}/dismissReminder
POST /me/calendars/{id}/events/{id}/snoozeReminder
POST /me/calendars/{id}/events/{id}/tentativelyAccept
POST /me/contactFolders
POST /me/contacts
POST /me/events
POST /me/events/{id}/accept
POST /me/events/{id}/attachments
POST /me/events/{id}/attachments/createUploadSession
POST /me/events/{id}/cancel
POST /me/events/{id}/decline
POST /me/events/{id}/dismissReminder
POST /me/events/{id}/snoozeReminder
POST /me/events/{id}/tentativelyAccept
POST /me/mailFolders
POST /me/mailFolders/{id}/messages
POST /me/messages
POST /me/settings/workHoursAndLocations/occurrences
POST /me/settings/workHoursAndLocations/occurrences/setCurrentLocation
POST /me/settings/workHoursAndLocations/recurrences
POST /places/{placesId}/checkIns
POST /solutions/bookingBusinesses/{id}/getStaffAvailability
POST /users/{id | userPrincipalName}/calendar/events
POST /users/{id | userPrincipalName}/calendar/events/{id}/accept
POST /users/{id | userPrincipalName}/calendar/events/{id}/attachments
POST /users/{id | userPrincipalName}/calendar/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendar/events/{id}/decline
POST /users/{id | userPrincipalName}/calendar/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendar/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendar/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/calendarGroups
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/accept
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/decline
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/calendars
POST /users/{id | userPrincipalName}/calendars/{id}/events
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/accept
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/decline
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/events
POST /users/{id | userPrincipalName}/events/{id}/accept
POST /users/{id | userPrincipalName}/events/{id}/attachments
POST /users/{id | userPrincipalName}/events/{id}/attachments/createUploadSession
POST /users/{id | userPrincipalName}/events/{id}/cancel
POST /users/{id | userPrincipalName}/events/{id}/decline
POST /users/{id | userPrincipalName}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/events/{id}/tentativelyAccept
POST /users/{id}/calendar/calendarPermissions
POST /users/{id|userPrincipalName}/calendar/getSchedule
POST /users/{id|userPrincipalName}/calendars
POST /users/{id|userPrincipalName}/contactFolders
POST /users/{id|userPrincipalName}/contacts
POST /users/{id|userPrincipalName}/events
POST /users/{id|userPrincipalName}/mailFolders
POST /users/{id|userPrincipalName}/messages
POST /users/{id|userPrincipalName}/todo/lists
POST /users/{id|userPrincipalName}/todo/lists/{id}/tasks
POST /users/{usersId}/calendar/permanentDelete
POST /users/{usersId}/calendarView/{eventId}/permanentDelete
POST /users/{usersId}/events/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/calendar/calendarView/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/calendar/events/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/exceptionOccurrences/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/instances/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/permanentDelete
PATCH /devices/{Id}/extensions/{extensionId}
PATCH /groups/{id}/calendar
PATCH /groups/{id}/calendar/events/{id}
PATCH /groups/{id}/events/{id}
PATCH /groups/{id}/events/{id}/extensions/{extensionId}
PATCH /groups/{id}/extensions/{extensionId}
PATCH /groups/{id}/threads/{id}/posts/{id}/extensions/{extensionId}
PATCH /me/calendar
PATCH /me/calendar/events/{id}
PATCH /me/calendarGroups/{id}
PATCH /me/calendarGroups/{id}/calendars/{id}/events/{id}
PATCH /me/calendars/{id}/events/{id}
PATCH /me/events/{id}
PATCH /me/settings/workHoursAndLocations
PATCH /organization/{Id}/extensions/{extensionId}
PATCH /users/{id | userPrincipalName}/calendar
PATCH /users/{id | userPrincipalName}/calendar/events/{id}
PATCH /users/{id | userPrincipalName}/calendarGroups/{id}
PATCH /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}
PATCH /users/{id | userPrincipalName}/calendars/{id}/events/{id}
PATCH /users/{id | userPrincipalName}/events/{id}
PATCH /users/{id}/calendar/calendarPermissions/{id}
PATCH /users/{id|userPrincipalName}/contacts/{id}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/events/{id}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/extensions/{extensionId}
PATCH /users/{id|userPrincipalName}/messages/{id}/extensions/{extensionId}
PATCH /users/me/todo/lists/{todoTaskListId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
PUT /me/settings/workHoursAndLocations/occurrences/{id}
PUT /me/settings/workHoursAndLocations/recurrences/{id}
DELETE /devices/{Id}/extensions/{extensionId}
DELETE /groups/{id}/calendar/events/{id}/
DELETE /groups/{id}/events/{id}
DELETE /groups/{id}/events/{id}/extensions/{extensionId}
DELETE /groups/{id}/extensions/{extensionId}
DELETE /groups/{id}/threads/{id}/posts/{id}/extensions/{extensionId}
DELETE /me/calendar/events/{id}
DELETE /me/calendar/events/{id}/attachments/{id}
DELETE /me/calendarGroups/{id}
DELETE /me/calendarGroups/{id}/calendars/{id}/events/{id}
DELETE /me/calendars/{id}
DELETE /me/calendars/{id}/events/{id}
DELETE /me/events/{id}
DELETE /me/events/{id}/attachments/{id}
DELETE /me/extensions/{extensionId}
DELETE /me/settings/workHoursAndLocations/occurrences/{id}
DELETE /me/settings/workHoursAndLocations/recurrences/{id}
DELETE /me/todo/lists/{todoTaskListId}/extensions/{extensionId}
DELETE /me/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
DELETE /organization/{Id}/extensions/{extensionId}
DELETE /users/{id | userPrincipalName}/calendar/events/{id}
DELETE /users/{id | userPrincipalName}/calendar/events/{id}/attachments/{id}
DELETE /users/{id | userPrincipalName}/calendarGroups/{id}
DELETE /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}
DELETE /users/{id | userPrincipalName}/calendars/{id}
DELETE /users/{id | userPrincipalName}/calendars/{id}/events/{id}
DELETE /users/{id | userPrincipalName}/events/{id}
DELETE /users/{id | userPrincipalName}/events/{id}/attachments/{id}
DELETE /users/{id}/calendar/calendarPermissions/{id}
DELETE /users/{id|userPrincipalName}/contacts/{id}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/events/{id}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/extensions/{extensionId}
DELETE /users/{id|userPrincipalName}/messages/{id}/extensions/{extensionId}
DELETE /users/{userId}/todo/lists/{todoTaskListId}/extensions/{extensionId}
DELETE /users/{userId}/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
Methods
GET /groups/{id}/calendar
GET /groups/{id}/calendar/events
GET /groups/{id}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /me/calendar
GET /me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /me/calendar/events
GET /me/calendarGroups
GET /me/calendars
GET /me/calendars/delta
GET /me/events/delta
GET /me/events/delta?startDateTime={start_datetime}
GET /me/settings/workHoursAndLocations
GET /me/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}')
GET /me/settings/workHoursAndLocations/recurrences
GET /places/{placesId}/checkIns/{calendarEventId}
GET /users/{id | userPrincipalName}/calendar
GET /users/{id | userPrincipalName}/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /users/{id | userPrincipalName}/calendar/events
GET /users/{id | userPrincipalName}/calendarGroups
GET /users/{id | userPrincipalName}/calendars
GET /users/{id | userPrincipalName}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}
GET /users/{id | userPrincipalName}/events/delta
GET /users/{id | userPrincipalName}/events/delta?startDateTime={start_datetime}
GET /users/{id | userPrincipalName}/reminderView(startDateTime={startDateTime},endDateTime={endDateTime})
GET /users/{id}/calendar/calendarPermissions
GET /users/{id}/calendar/calendarPermissions/{id}
GET /users/{usersId}/calendars/delta
POST /drive/items/{itemId}/children
POST /groups/{groupsId}/calendar/permanentDelete
POST /groups/{groupsId}/calendarView/{eventId}/permanentDelete
POST /groups/{groupsId}/events/{eventId}/permanentDelete
POST /groups/{id}/calendar/events
POST /groups/{id}/calendar/events/{id}/cancel
POST /groups/{id}/conversations
POST /groups/{id}/conversations/{id}/threads/{id}/posts/{id}/reply
POST /groups/{id}/conversations/{id}/threads/{id}/reply
POST /groups/{id}/events
POST /groups/{id}/events/{id}/cancel
POST /groups/{id}/threads
POST /groups/{id}/threads/{id}/posts/{id}/reply
POST /groups/{id}/threads/{id}/reply
POST /groups/{userId}/events
POST /groups/{userId}/threads/{threadId}/posts/{postId}/reply
POST /me/calendar/events
POST /me/calendar/events/{id}/accept
POST /me/calendar/events/{id}/cancel
POST /me/calendar/events/{id}/decline
POST /me/calendar/events/{id}/dismissReminder
POST /me/calendar/events/{id}/snoozeReminder
POST /me/calendar/events/{id}/tentativelyAccept
POST /me/calendar/getSchedule
POST /me/calendarGroups
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/accept
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/cancel
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/decline
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/dismissReminder
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/snoozeReminder
POST /me/calendarGroups/{id}/calendars/{id}/events/{id}/tentativelyAccept
POST /me/calendars
POST /me/calendars/{id}/events
POST /me/calendars/{id}/events/{id}/accept
POST /me/calendars/{id}/events/{id}/cancel
POST /me/calendars/{id}/events/{id}/decline
POST /me/calendars/{id}/events/{id}/dismissReminder
POST /me/calendars/{id}/events/{id}/snoozeReminder
POST /me/calendars/{id}/events/{id}/tentativelyAccept
POST /me/contactFolders
POST /me/contacts
POST /me/events
POST /me/events/{id}/accept
POST /me/events/{id}/attachments
POST /me/events/{id}/attachments/createUploadSession
POST /me/events/{id}/cancel
POST /me/events/{id}/decline
POST /me/events/{id}/dismissReminder
POST /me/events/{id}/snoozeReminder
POST /me/events/{id}/tentativelyAccept
POST /me/mailFolders
POST /me/mailFolders/{id}/messages
POST /me/messages
POST /me/outlook/taskFolders
POST /me/outlook/taskFolders/{id}/tasks
POST /me/outlook/taskGroups/{id}/taskFolders
POST /me/outlook/taskGroups/{id}/taskFolders/{id}/tasks
POST /me/outlook/tasks
POST /me/settings/workHoursAndLocations/occurrences
POST /me/settings/workHoursAndLocations/occurrences/setCurrentLocation
POST /me/settings/workHoursAndLocations/recurrences
POST /me/todo/lists/{todoTaskListId}/tasks?$expand=singleValueExtendedProperties($filter=id eq '{singleValueExtendedPropertyId}')
POST /me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}?$expand=singleValueExtendedProperties($filter=id eq '{singleValueExtendedPropertyId}')
POST /places/{placesId}/checkIns
POST /solutions/bookingbusinesses/{id}/getStaffAvailability
POST /users/{id | userPrincipalName}/calendar/events
POST /users/{id | userPrincipalName}/calendar/events/{id}/accept
POST /users/{id | userPrincipalName}/calendar/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendar/events/{id}/decline
POST /users/{id | userPrincipalName}/calendar/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendar/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendar/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/calendarGroups
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/accept
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/decline
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/calendars
POST /users/{id | userPrincipalName}/calendars/{id}/events
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/accept
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/cancel
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/decline
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/calendars/{id}/events/{id}/tentativelyAccept
POST /users/{id | userPrincipalName}/events
POST /users/{id | userPrincipalName}/events/{id}/accept
POST /users/{id | userPrincipalName}/events/{id}/attachments
POST /users/{id | userPrincipalName}/events/{id}/cancel
POST /users/{id | userPrincipalName}/events/{id}/decline
POST /users/{id | userPrincipalName}/events/{id}/dismissReminder
POST /users/{id | userPrincipalName}/events/{id}/snoozeReminder
POST /users/{id | userPrincipalName}/events/{id}/tentativelyAccept
POST /users/{id}/calendar/calendarPermissions
POST /users/{id|userPrincipalName}/calendar/getSchedule
POST /users/{id|userPrincipalName}/calendars
POST /users/{id|userPrincipalName}/contactFolders
POST /users/{id|userPrincipalName}/contacts
POST /users/{id|userPrincipalName}/events
POST /users/{id|userPrincipalName}/mailFolders
POST /users/{id|userPrincipalName}/messages
POST /users/{id|userPrincipalName}/outlook/taskFolders
POST /users/{id|userPrincipalName}/outlook/taskFolders/{id}/tasks
POST /users/{id|userPrincipalName}/outlook/taskGroups/{id}/taskFolders
POST /users/{id|userPrincipalName}/outlook/taskGroups/{id}/taskFolders/{id}/tasks
POST /users/{id|userPrincipalName}/outlook/tasks
POST /users/{userId|userPrincipalName}/contacts
POST /users/{userId|userPrincipalName}/events
POST /users/{userId|userPrincipalName}/messages
POST /users/{userId|userPrincipalName}/tasks/lists
POST /users/{userId|userPrincipalName}/tasks/lists/{listId}/tasks
POST /users/{userId|userPrincipalName}/todo/lists
POST /users/{userId|userPrincipalName}/todo/lists/{listId}/tasks
POST /users/{usersId}/calendar/permanentDelete
POST /users/{usersId}/calendarView/{eventId}/permanentDelete
POST /users/{usersId}/events/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/calendar/calendarView/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/calendar/events/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/exceptionOccurrences/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/instances/{eventId}/permanentDelete
POST /users/{usersId}/messages/{messageId}/event/permanentDelete
PATCH /administrativeUnits/{administrativeUnitId}/extensions/{extensionId}
PATCH /devices/{deviceId}/extensions/{extensionId}
PATCH /drive/items/{itemId}/extensions/{extensionId}
PATCH /groups/{groupId}/events/{eventId}/extensions/{extensionId}
PATCH /groups/{groupId}/extensions/{extensionId}
PATCH /groups/{groupId}/threads/{threadId}/posts/{postId}/extensions/{extensionId}
PATCH /groups/{id}/calendar
PATCH /groups/{id}/calendar/events/{id}
PATCH /groups/{id}/events/{id}
PATCH /me/calendar
PATCH /me/calendar/events/{id}
PATCH /me/calendarGroups/{id}
PATCH /me/calendarGroups/{id}/calendars/{id}/events/{id}
PATCH /me/calendars/{id}/events/{id}
PATCH /me/events/{id}
PATCH /me/settings/workHoursAndLocations
PATCH /organization/{organizationId}/extensions/{extensionId}
PATCH /sites/{siteId}/extensions/{extensionId}
PATCH /users/{id | userPrincipalName}/calendar
PATCH /users/{id | userPrincipalName}/calendar/events/{id}
PATCH /users/{id | userPrincipalName}/calendarGroups/{id}
PATCH /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}
PATCH /users/{id | userPrincipalName}/calendars/{id}/events/{id}
PATCH /users/{id | userPrincipalName}/events/{id}
PATCH /users/{id}/calendar/calendarPermissions/{id}
PATCH /users/{userId|userPrincipalName}/contacts/{contactId}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/events/{eventId}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/extensions/{extensionId}
PATCH /users/{userId|userPrincipalName}/messages/{messageId}/extensions/{extensionId}
PATCH /users/me/tasks/lists/{listId}/extensions/{extensionId}
PATCH /users/me/tasks/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{listId}/extensions/{extensionId}
PATCH /users/me/todo/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
PUT /me/settings/workHoursAndLocations/occurrences/{id}
PUT /me/settings/workHoursAndLocations/recurrences/{id}
DELETE /administrativeUnits/{administrativeUnitId}/extensions/{extensionId}
DELETE /devices/{deviceId}/extensions/{extensionId}
DELETE /drive/items/{itemId}/extensions/{extensionId}
DELETE /groups/{groupId}/events/{eventId}/extensions/{extensionId}
DELETE /groups/{groupId}/extensions/{extensionId}
DELETE /groups/{groupId}/threads/{threadIid}/posts/{postId}/extensions/{extensionId}
DELETE /groups/{id}/calendar/events/{id}/
DELETE /groups/{id}/events/{id}
DELETE /me/calendar/events/{id}
DELETE /me/calendar/events/{id}/attachments/{id}
DELETE /me/calendarGroups/{id}
DELETE /me/calendarGroups/{id}/calendars/{id}/events/{id}
DELETE /me/calendars/{id}
DELETE /me/calendars/{id}/events/{id}
DELETE /me/events/{id}
DELETE /me/events/{id}/attachments/{id}
DELETE /me/settings/workHoursAndLocations/occurrences/{id}
DELETE /me/settings/workHoursAndLocations/recurrences/{id}
DELETE /organization/{organizationId}/extensions/{extensionId}
DELETE /sites/{site-id}/extensions/{extensionId}
DELETE /users/{id | userPrincipalName}/calendar/events/{id}
DELETE /users/{id | userPrincipalName}/calendar/events/{id}/attachments/{id}
DELETE /users/{id | userPrincipalName}/calendarGroups/{id}
DELETE /users/{id | userPrincipalName}/calendarGroups/{id}/calendars/{id}/events/{id}
DELETE /users/{id | userPrincipalName}/calendars/{id}
DELETE /users/{id | userPrincipalName}/calendars/{id}/events/{id}
DELETE /users/{id | userPrincipalName}/events/{id}
DELETE /users/{id | userPrincipalName}/events/{id}/attachments/{id}
DELETE /users/{id}/calendar/calendarPermissions/{id}
DELETE /users/{userId|userPrincipalName}/contacts/{contactId}/extensions/{extensionId}
DELETE /users/{userId|userPrincipalName}/events/{eventId}/extensions/{extensionId}
DELETE /users/{userId|userPrincipalName}/extensions/{extensionId}
DELETE /users/{userIid|userPrincipalName}/messages/{messageId}/extensions/{extensionId}
DELETE /users/me/tasks/lists/{listId}/extensions/{extensionId}
DELETE /users/me/tasks/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
DELETE /users/me/todo/lists/{listId}/extensions/{extensionId}
DELETE /users/me/todo/lists/{listId}/tasks/{taskId}/extensions/{extensionId}
Commands
Get-MgBetaBookingBusinessStaffAvailability
Get-MgBetaGroupCalendarSchedule
Get-MgBetaGroupEventDelta
Get-MgBetaGroupEventInstanceDelta
Get-MgBetaPlaceCheck
Get-MgBetaUserCalendar
Get-MgBetaUserCalendarDelta
Get-MgBetaUserCalendarGroup
Get-MgBetaUserCalendarGroupCalendar
Get-MgBetaUserCalendarPermission
Get-MgBetaUserCalendarView
Get-MgBetaUserDefaultCalendar
Get-MgBetaUserDefaultCalendarEvent
Get-MgBetaUserEvent
Get-MgBetaUserEventDelta
Get-MgBetaUserEventInstanceDelta
Invoke-MgBetaAcceptUserEvent
Invoke-MgBetaAcceptUserEventTentatively
Invoke-MgBetaDeclineUserEvent
Invoke-MgBetaDismissUserEventReminder
Invoke-MgBetaReplyGroupConversationThread
Invoke-MgBetaReplyGroupConversationThreadPost
Invoke-MgBetaReplyGroupThread
Invoke-MgBetaReplyGroupThreadPost
Invoke-MgBetaSnoozeUserEventReminder
Invoke-MgBetaViewUserReminder
New-MgBetaDriveItemChild
New-MgBetaGroupConversation
New-MgBetaGroupEvent
New-MgBetaGroupThread
New-MgBetaPlaceCheck
New-MgBetaUserCalendar
New-MgBetaUserCalendarEvent
New-MgBetaUserCalendarGroup
New-MgBetaUserCalendarGroupCalendar
New-MgBetaUserCalendarPermission
New-MgBetaUserContact
New-MgBetaUserContactFolder
New-MgBetaUserEvent
New-MgBetaUserEventAttachment
New-MgBetaUserMailFolder
New-MgBetaUserMailFolderMessage
New-MgBetaUserMessage
New-MgBetaUserMessageAttachmentUploadSession
New-MgBetaUserOutlookTask
New-MgBetaUserOutlookTaskFolder
New-MgBetaUserOutlookTaskFolderTask
New-MgBetaUserOutlookTaskGroupTaskFolder
New-MgBetaUserOutlookTaskGroupTaskFolderTask
Remove-MgBetaDriveItemExtension
Remove-MgBetaUserCalendarGroup
Remove-MgBetaUserCalendarPermanent
Remove-MgBetaUserCalendarPermission
Remove-MgBetaUserEvent
Remove-MgBetaUserEventAttachment
Remove-MgBetaUserEventPermanent
Stop-MgBetaUserEvent
Update-MgBetaDriveItemExtension
Update-MgBetaUserCalendarGroup
Update-MgBetaUserCalendarPermission
Update-MgBetaUserEvent

Code Examples

C# / .NET SDK
// Install: dotnet add package Microsoft.Graph
// Install: dotnet add package Azure.Identity
using Microsoft.Graph;
using Azure.Identity;

// Delegated permissions - interactive user sign-in
var scopes = new[] { "Calendars.ReadWrite" };
var options = new InteractiveBrowserCredentialOptions
{
    ClientId = "YOUR_CLIENT_ID",
    TenantId = "YOUR_TENANT_ID",
    RedirectUri = new Uri("http://localhost")
};
var credential = new InteractiveBrowserCredential(options);
var graphClient = new GraphServiceClient(credential, scopes);

// Example: GET /me
var result = await graphClient.Me.GetAsync();
Console.WriteLine($"User: {result?.DisplayName}");

// Application permissions - daemon/service app
var tenantId = "YOUR_TENANT_ID";
var clientId = "YOUR_CLIENT_ID";
var clientSecret = "YOUR_CLIENT_SECRET";

var credential = new ClientSecretCredential(tenantId, clientId, clientSecret);
var graphClient = new GraphServiceClient(credential);

// Example: GET /users/{user-id}
var users = await graphClient.Users.GetAsync();
foreach (var user in users?.Value ?? [])
{
    Console.WriteLine($"User: {user.DisplayName}");
}
JavaScript / TypeScript
// npm install @azure/msal-browser @microsoft/microsoft-graph-client
import { PublicClientApplication } from "@azure/msal-browser";
import { Client } from "@microsoft/microsoft-graph-client";
import { AuthCodeMSALBrowserAuthenticationProvider } from 
    "@microsoft/microsoft-graph-client/authProviders/authCodeMsalBrowser";

const msalConfig = {
    auth: {
        clientId: "YOUR_CLIENT_ID",
        authority: "https://login.microsoftonline.com/YOUR_TENANT_ID"
    }
};

const pca = new PublicClientApplication(msalConfig);
await pca.initialize();

// Delegated: Login with required scope
const loginResponse = await pca.loginPopup({
    scopes: ["Calendars.ReadWrite"]
});

const authProvider = new AuthCodeMSALBrowserAuthenticationProvider(pca, {
    account: loginResponse.account,
    scopes: ["Calendars.ReadWrite"],
    interactionType: "popup"
});

const graphClient = Client.initWithMiddleware({ authProvider });

// Example: GET /me
const result = await graphClient.api("/me").get();
console.log(result);

// Application: Use client credentials (Node.js backend only)
// npm install @azure/identity @microsoft/microsoft-graph-client
import { ClientSecretCredential } from "@azure/identity";
import { TokenCredentialAuthenticationProvider } from 
    "@microsoft/microsoft-graph-client/authProviders/azureTokenCredentials";

const credential = new ClientSecretCredential(
    "YOUR_TENANT_ID",
    "YOUR_CLIENT_ID", 
    "YOUR_CLIENT_SECRET"
);

const authProvider = new TokenCredentialAuthenticationProvider(credential, {
    scopes: ["https://graph.microsoft.com/.default"]
});

const graphClient = Client.initWithMiddleware({ authProvider });
const result = await graphClient.api("/users").get();
console.log(result);
PowerShell
# Install Microsoft Graph PowerShell module
Install-Module Microsoft.Graph -Scope CurrentUser

# Delegated access - interactive sign-in
Connect-MgGraph -Scopes "Calendars.ReadWrite"

# Verify connection
Get-MgContext | Select-Object Account, TenantId, Scopes

# Example: GET /me
$result = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/me"
$result | ConvertTo-Json -Depth 5

# Application access with certificate
$params = @{
    ClientId = "YOUR_CLIENT_ID"
    TenantId = "YOUR_TENANT_ID"
    CertificateThumbprint = "YOUR_CERT_THUMBPRINT"
}
Connect-MgGraph @params

# Or with client secret (not recommended for production)
# Connect-MgGraph -ClientSecretCredential $credential

# Example: GET /users
$result = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users"
$result | ConvertTo-Json -Depth 5

# Always disconnect when done
Disconnect-MgGraph
Python
# pip install msgraph-sdk azure-identity
from azure.identity import InteractiveBrowserCredential, ClientSecretCredential
from msgraph import GraphServiceClient
import asyncio

# Delegated permissions - interactive browser sign-in
credential = InteractiveBrowserCredential(
    client_id="YOUR_CLIENT_ID",
    tenant_id="YOUR_TENANT_ID"
)
scopes = ["Calendars.ReadWrite"]
client = GraphServiceClient(credential, scopes)

async def get_data():
    # Example: GET /me
    result = await client.me.get()
    print(f"User: {result.display_name}")
    return result

asyncio.run(get_data())

# Application permissions - client credentials
credential = ClientSecretCredential(
    tenant_id="YOUR_TENANT_ID",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET"
)
scopes = ["https://graph.microsoft.com/.default"]
client = GraphServiceClient(credential, scopes)

async def get_users():
    # Example: GET /users
    result = await client.users.get()
    for user in result.value:
        print(f"User: {user.display_name}")
    return result

asyncio.run(get_users())

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or Delegated permissions and search for Calendars.ReadWrite

4

Grant Admin Consent

Application permissions always require admin consent. Click "Grant admin consent" in the Azure portal.