Access a user's calendar events in a JavaScript app with Microsoft Graph
Microsoft Graph provides access to data stored across Microsoft 365 services. In this module, you'll learn how to access Microsoft 365 data to show a user's default calendar in a JavaScript application by using Microsoft Graph APIs and SDKs. To make sure that the web app only shows what's immediately relevant to the user, you'll access and display instances of events for a given period.
Learning objectives
At the end of this module, you'll be able to:
- Retrieve a list of calendar events from a user's default calendar by using Microsoft Graph for a given period.
- Display retrieved calendar events in an application.
Prerequisites
- Global administrator access to a Microsoft 365 tenant.
- Basic understanding of authentication and authorization on Microsoft 365
- Basic understanding of HTML and JavaScript
- Basic understanding of Microsoft Graph
- Node.js LTS