Outlook Calendar
Instructions for setting up Outlook Calendar authentication integration for NocoDB
App Sync is available on NocoDB Cloud (Plus plan and above) and licensed self-hosted deployments (Business plan and above). This page covers OAuth app setup for self-hosted deployments; on NocoDB Cloud these OAuth apps are preconfigured.
This document provides instructions for setting up the Outlook Calendar authentication integration for NocoDB.
Environment Variables
To enable OAuth2 authentication with Outlook Calendar, you need to set up the following environment variables:
Step 1: Register a Microsoft Entra Application
- Log in to the Microsoft Entra admin center (or the Azure portal)
- Navigate to Identity > Applications > App registrations
- Click "New registration"
- Fill out the form:
- Name: Your application name (e.g., "NocoDB")
- Supported account types: Choose who can use the integration. Select "Accounts in any organizational directory and personal Microsoft accounts" to support both work/school and personal accounts
- Redirect URI: Select the "Web" platform and enter the URL where Microsoft will redirect users after authorization (e.g.,
https://your-nocodb-instance.com/)
- Click "Register"
- Navigate to API permissions and add the following Microsoft Graph delegated permissions:
Calendars.Read,User.Read, andoffline_access
Step 2: Get Client ID and Client Secret
After registering the application:
- Copy the "Application (client) ID" from the Overview page
- Navigate to Certificates & secrets, click "New client secret", and copy the secret's Value (it is shown only once)
Step 3: Set Environment Variables
Configure your NocoDB instance with the following environment variables:
INTEGRATION_AUTH_OUTLOOK_CALENDAR_CLIENT_ID=your_outlook_client_id
INTEGRATION_AUTH_OUTLOOK_CALENDAR_CLIENT_SECRET=your_outlook_client_secret
INTEGRATION_AUTH_OUTLOOK_CALENDAR_REDIRECT_URI=your_redirect_uri
INTEGRATION_AUTH_OUTLOOK_CALENDAR_TENANT_ID=your_tenant_idWhere:
your_outlook_client_id: The Application (client) ID from your app registrationyour_outlook_client_secret: The client secret value from your app registrationyour_redirect_uri: The redirect URI you specified when registering the application (e.g.,https://your-nocodb-instance.com/api/v1/integrations/auth/outlook-calendar/callback)your_tenant_id: (Optional) Your Microsoft Entra tenant ID. Defaults tocommon, which allows both personal and work/school Microsoft accounts. Set it to your tenant ID to restrict sign-in to your organization
OAuth Scopes
This integration requests the following Microsoft Graph scopes:
Calendars.Read: Read-only access to calendars and eventsUser.Read: Read the profile of the connected accountoffline_access: Refresh the access token between sync runs
Access is read-only; NocoDB never modifies your calendar.