Outlook Calendar
This document tells you how to set up the Outlook Calendar authentication integration for NocoDB.
Environment Variables
To enable OAuth2 authentication with Outlook Calendar, set up these environment variables:
Step 1: Register a Microsoft Entra Application
- Log in to the Microsoft Entra admin center (or the Azure portal).
- Go to Identity > Applications > App registrations.
- Click "New registration".
- Fill in the form:
- Name: Your application name (for example, "NocoDB")
- Supported account types: Select who can use the integration. To support both work/school and personal accounts, select "Accounts in any organizational directory and personal Microsoft accounts"
- Redirect URI: Select the "Web" platform. Type the URL where Microsoft sends users after authorization (for example,
https://your-nocodb-instance.com/)
- Click "Register".
- Go to API permissions.
- Add these Microsoft Graph delegated permissions:
Calendars.Read,User.Read, andoffline_access.
Step 2: Get Client ID and Client Secret
After you register the application:
- On the Overview page, copy the "Application (client) ID".
- Go to Certificates & secrets.
- Click "New client secret".
- Copy the Value of the secret. It is shown only once.
Step 3: Set Environment Variables
Configure your NocoDB instance with these 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 that you specified when you registered the application (for example,https://your-nocodb-instance.com/api/v1/integrations/auth/outlook-calendar/callback)your_tenant_id: (Optional) Your Microsoft Entra tenant ID. The default iscommon, which allows both personal and work/school Microsoft accounts. To let only your organization sign in, set it to your tenant ID
OAuth Scopes
The Outlook Calendar integration requests these 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 changes your calendar.
Availability
- 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.
Last updated on
Latest product updates?See Changelog