Skip to content
flexcal Documentation

Microsoft

  1. Open Azure App Registrations and select New registration.

  2. Name the application.

  3. Set Who can use this application or access this API? to Accounts in any organizational directory (Any Azure AD directory - Multitenant).

  4. Set the Web redirect URI, replacing <flexcal URL> with your instance URL:

    <flexcal URL>/api/integrations/office365calendar/callback
  5. Copy Application (client) ID into .env:

    MS_GRAPH_CLIENT_ID=<application_client_id>
  6. Under Certificates & secrets, create a new client secret and copy its value:

    MS_GRAPH_CLIENT_SECRET=<client_secret_value>

The same registration backs Microsoft (Entra ID) single sign-on.