In this article post, let us look at the way of accessing
the Office 365 calendar events programmatically using REST APIs.
In the samples shown, calendar events will be accessed from
SharePoint portal pages using two ways. One way is to use the graph API and the
other way is using the outlook API.
Outlook API vs Microsoft Graph API:
Outlook API has lot of API end points to access the mailbox
data in office 365 or other Microsoft mailbox services. It has around 11 API
subsets for accessing various components under outlook like calendar, contacts,
etc.
Microsoft Graph API, helps getting connected to multiple
Microsoft products or services. The services include outlook, teams, SharePoint,
people etc. This also helps in accessing other user information as well.