Microsoft Outlook
Setup OAuth 2.0 Client
- Register Microsoft OAuth App. More info on this here https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app. Choose Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) as Supported Account Type option. Copy Application (client) ID (
CLIENT_ID
) value. - Configure platform settings for the app, choose "Web" as the platform type. Add a redirect uri. You should be able to verify ownership of this domain in order publish to production.
- Create a new client secret for the application. Copy the secret value(
CLIENT_SECRET
) as this will be needed in a later step. - Configure permissions
Calendars.Read
API permission.
Implement OAuth 2.0 Authorization Code Flow
Code samples from Calendar V2 Demo Repository:
Updated 11 months ago