Authentication Method
oauth_2- OAuth 2.0 (Microsoft identity platform)
OAuth App Setup
Step 1: Register an App in Azure
- Go to the Azure portal
- Navigate to Azure Active Directory → App registrations
- Click New registration
- Fill in the app name and select the account type
- Add a redirect URI (e.g.,
http://localhost:3456/callback) under Web - Click Register
Step 2: Configure API Permissions
- Go to API permissions → Add a permission → Microsoft Graph
- Add delegated permissions:
Mail.ReadWrite— Read and write emailsMail.Send— Send emailsCalendars.ReadWrite— Read and write calendarsContacts.ReadWrite— Read and write contacts
Step 3: Create a Client Secret
- Go to Certificates & secrets → New client secret
- Give it a description and expiry
- Copy the Value immediately — you won’t see it again
Step 4: Store Credentials
Step 5: Authorize
Required Credentials Summary
| Credential | Required For | Where to Find |
|---|---|---|
| Application (Client) ID | OAuth flow | Azure App registration → Overview |
| Client Secret | OAuth flow | Azure App registration → Certificates & secrets |