Could you please refer some starting code examples for building an OAuth2.0 client for fetching Outlook calendar data for personal MS account holders?

parth 31 Reputation points

Most of the examples depicting the usage of MS Graph API-based fetch of user data are geared toward the single tenant, and then there is a tutorial for multi-tenant, but I need to build an OAuth2.0 client for personal MS account holders (Outlook accounts).

I tried making tenant-id: common in the code and selecting all AD + personal accounts while registering the app with the Azure portal, but the same isn't working.

P.S. I am using MS-Graph Java SDK

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,773 questions
0 comments No comments
{count} votes