Microsoft Graph: List Calendar Events

Victoria Jul 07, 2026

Microsoft Graph, a RESTful API that enables access to Microsoft Cloud service resources, offers a robust way to interact with Microsoft 365, Windows 10, and Enterprise Mobility + Security. One of its powerful features is the ability to list calendar events, which can significantly streamline workflows and enhance productivity. Let's delve into how to effectively use Microsoft Graph to list calendar events.

Free 2025-2026 Event Planning Calendar Template in Google Sheets and Microsoft Excel | thegoodocs.com
Free 2025-2026 Event Planning Calendar Template in Google Sheets and Microsoft Excel | thegoodocs.com

Before we dive into the specifics, it's crucial to understand that Microsoft Graph uses OAuth 2.0 for authentication and authorization. This means you'll need to register an application in Azure Active Directory and obtain appropriate permissions to access calendar events.

FREE Calendar & Planner Excel Template for 2026
FREE Calendar & Planner Excel Template for 2026

Understanding Calendar Events in Microsoft Graph

In Microsoft Graph, calendar events are represented as 'events' under the 'calendarView' or 'calendar' navigation property of a calendar. Each event is an object that contains detailed information such as the event's start and end times, recurrence pattern, attendees, and more.

How to Create Year and School Calendar with Dynamic Date Markers » The Spreadsheet Page
How to Create Year and School Calendar with Dynamic Date Markers » The Spreadsheet Page

Microsoft Graph supports various query parameters to filter and sort events, making it easy to retrieve specific events based on your needs. For instance, you can query events within a specific date range, for a particular user, or even for a shared calendar.

Querying Calendar Events

an image of a calendar with different times and dates for each month, including the date
an image of a calendar with different times and dates for each month, including the date

To list calendar events, you can make a GET request to the '/me/events' or '/users/{id | userPrincipalName}/events' endpoint. Here, '{id | userPrincipalName}' is the ID or user principal name of the user whose events you want to retrieve. You can also specify a calendar ID to list events from a specific calendar.

For example, to list all-day events for the signed-in user in the next 30 days, you could use the following query: ``` /me/events?startDateTime=2022-01-01&endDateTime=2022-01-31&isOrganizer=true&isAllDay=true ```

Expanding Event Properties

Free Content Calendar Template | ConversionMinded
Free Content Calendar Template | ConversionMinded

By default, Microsoft Graph returns a subset of event properties to optimize performance. However, you can request additional properties by including the '$expand' query parameter in your request. This is particularly useful when you need detailed information about event attendees, locations, or other related resources.

For instance, to include attendees and locations in the response, you could modify the previous query like this: ``` /me/events?startDateTime=2022-01-01&endDateTime=2022-01-31&isOrganizer=true&isAllDay=true&$expand=attendees,locations ```

Working with Recurring Events

5 Best Microsoft Teams Shared Calendar App
5 Best Microsoft Teams Shared Calendar App

Microsoft Graph supports the iCalendar (RFC 5545) format for recurring events, allowing you to create, update, and manage recurring events with ease. When querying recurring events, you can use the 'occurrenceDateTime' query parameter to retrieve specific instances of a recurring event.

For example, to list all occurrences of a recurring event in January 2022, you could use the following query: ``` /me/events?occurrenceDateTime=2022-01-01..2022-01-31 ```

Year at a Glance Excel Calendar Template for 2025 Planning schoolbudget
Year at a Glance Excel Calendar Template for 2025 Planning schoolbudget
Free Excel Spreadsheet Templates
Free Excel Spreadsheet Templates
Yearly Schedule of Events Template
Yearly Schedule of Events Template
Elegant Event Calendar
Elegant Event Calendar
a desktop computer with a calendar on the screen and a plant in front of it
a desktop computer with a calendar on the screen and a plant in front of it
the 2010 events calendar is shown in blue
the 2010 events calendar is shown in blue
an image of a calendar in excel
an image of a calendar in excel
Best Digital Calendar Apps for Productivity in 2025
Best Digital Calendar Apps for Productivity in 2025
Construction Timeline Template for Project Management Efficiency
Construction Timeline Template for Project Management Efficiency
Free Calendario de Eventos Mensual Plantilla en Google Sheets and Microsoft Excel | thegoodocs.com
Free Calendario de Eventos Mensual Plantilla en Google Sheets and Microsoft Excel | thegoodocs.com
a calendar is shown with different colors and numbers
a calendar is shown with different colors and numbers
a poster with the dates and times for an event in black and white, on a light blue background
a poster with the dates and times for an event in black and white, on a light blue background
Monatsplaner Excel: Effiziente Planung leicht gemacht – Jetzt herunterladen!
Monatsplaner Excel: Effiziente Planung leicht gemacht – Jetzt herunterladen!
Free Excel Leave Tracker Template (Updated for 2026)
Free Excel Leave Tracker Template (Updated for 2026)
a spreadsheet showing the time for organized conferences
a spreadsheet showing the time for organized conferences
Excel calendar
Excel calendar
Social Media Content Calendar Template
Social Media Content Calendar Template
Monatsplaner Excel Vorlage – Organisiere deine Monate mühelos!
Monatsplaner Excel Vorlage – Organisiere deine Monate mühelos!
Calendar 2025 Template in Google Sheets, Excel - Download | Template.net
Calendar 2025 Template in Google Sheets, Excel - Download | Template.net
a calendar with different times on it and numbers for each month, including the date
a calendar with different times on it and numbers for each month, including the date

Mastering Event Queries with Filtering and Sorting

Microsoft Graph supports various filtering and sorting options to help you retrieve the exact events you need. You can filter events based on their subject, location, category, and other properties. Additionally, you can sort events by their start or end time, subject, or other properties.

For example, to list events in the next 30 days, sorted by their start time in descending order, you could use the following query: ``` /me/events?startDateTime=2022-01-01&endDateTime=2022-01-31&orderby=start/dateTime desc ```

By mastering Microsoft Graph's calendar event querying capabilities, you can unlock a world of possibilities for automating tasks, integrating apps, and enhancing productivity. So go ahead, start exploring, and make the most of Microsoft Graph's powerful calendar event features!