Connects an organisation’s own Microsoft 365 to your app: an admin grants consent once, and its directory and calendars sync in. It holds the rows, routes and schedules; a provider plugin (today, m365) does the talking.
→ The first prints the plan and stops; the second writes it.
Then generate and run its migration —
pnpm db:generate --name plugin-connectors-3.16.0 and
pnpm db:migrate — and do the handful of steps the plan lists that a
plugin may not do for you.
What it adds
A connection per organisation — Settings → Connections: pick a provider, send the organisation’s admin through consent, and watch the sync. Disconnecting deletes everything that was synced.
The directory and calendars — people, groups and memberships, plus the calendars of people who are members of your app, matched to them by email. Members see only their own events; admins see everyone’s.
Delta sync on a schedule — hourly, each resource resumes from where the provider’s own change feed left off, with a claim row so two runs never sync the same thing at once.
Seven tables — installations, connections, sync cursors, users, groups, memberships and events, each with the same row-level-security policy as everything else. Secrets are encrypted at rest and never sent back.
Commands — rocketflare connectors status for counts and sync progress, and rocketflare connectors sync to run one now.
An agent skill — connectors registers the Entra app for you with the Azure CLI, stores the secret without printing it, walks a customer’s admin through consent, and turns an AADSTS error into the fix.
Connectors stops for an organisation that turned it off (kit 0.48.0's kill switch), and pnpm plugin check no longer warns about it. The plugin needs kit 0.48.0 or later (it declared 0.29.0 before). Porting note.
No change to connectors: this release carries the analytics, freeagent, guide, inbox and web-knowledge changes, and every plugin in this repository ships at one version. Porting note.
The connectors manifest now carries a one-line description, which the kit's pnpm plugin list --available prints in place of the README's opening line. Porting note.
No change to connectors: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.
No change to connectors. This release exists because freeagent typechecks on kit 0.25.0 and later again, and every plugin here ships at the repository's version. Porting note.
No change to connectors. This release exists because analytics scopes GET /api/analytics/facts/status to the caller's organisation, and every plugin here ships at the repository's version. Porting note.
No change to connectors. This release exists because analytics moves to drizzle-cube 0.12.2 and compiles on React 19 with React Router 7, and every plugin here ships at the repository's version. Porting note.
No change to connectors. This release exists because inbox splits forwarded-as-attachment email into messages of their own, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because inbox and freeagent ship for the first time, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because analytics raised its minKit to 0.17.1, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because issue-reports ships for the first time, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because analytics fixed a test that failed the kit's tenant-isolation scan, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because analytics needed a type fix to compile against kit 0.15.0's driver-neutral Database, and every plugin here ships at the repository's version. Porting note.
No change to connectors: this release exists because analytics was made to work with both database drivers the kit may run, and every plugin here ships at the repository's version. Porting note.
Connectors now ships a connectors Claude Code skill that drives Microsoft 365 setup end to end, and Settings → Connections shows each audience only the steps it can act on. Porting note.
The first release: organisation-level connections to Microsoft 365 / Google Workspace (D34, phase 1 — directory and calendar, org-wide, app-only, delta polling). Provider-neutral: a provider plugin (m365) contributes the vendor conversation through extensions; this plugin owns every row, route, cursor and schedule. Porting note.
From the README
Synced from the plugin's README
— the plugin's own documentation, kept in step with its repository.
This is not “Sign in with Microsoft” — the kit already does that. A connection is a different
grant: an organisation admin consents once for everybody, and the app reads the directory and
calendars with app-only access on a schedule. The design (usage models, phases, security) is in the
kit’s docs/CONNECTORS.md.
connectors is provider-neutral: it owns every table, route, cursor and schedule, and a provider
plugin supplies the vendor conversation. Today that is m365 (Microsoft 365);
Google Workspace is next. Install a provider too — on its own, this plugin connects nothing.
What it adds
Area
What you get
UI
Settings → Connections (connect, consent, sync status, sync now, disconnect) and My calendar at /calendar
Sync
Directory people, groups and memberships, and the calendars of directory people who are members of your app (matched by email), via delta queries — hourly by the 17 * * * * cron, or on demand. Cursors resume after every page and a lost cursor restarts a full pass
API
/api/connectors (providers, installations, sync, directory, events) and the public consent callback at /api/hooks/connectors/<provider>/callback, which trusts only a signed state
Data
connectors_installations, connectors_connections, connectors_sync_cursors, connectors_directory_users, connectors_directory_groups, connectors_group_members, connectors_calendar_events — all tenant-scoped with row-level security; disconnecting deletes everything synced
CLI
rocketflare connectors status and rocketflare connectors sync [--provider] [--resource]
Agent skill
connectors — explains connections, drives the operator’s app registration end to end, helps an organisation bring its own app, verifies a connection and troubleshoots errors
Feature flag
connectors (on by default)
Requirements
Rocketflare kit 0.48.0 or later (the hourly sync is a perTenantTask, so it skips an organisation that turned connectors off).
At least one provider plugin (m365).
OAUTH_ENCRYPTION_KEY set in the app — tokens and bring-your-own secrets are sealed with it.
The provider’s own setup: for Microsoft 365, an app registered in Entra ID (the connectors
skill does it with the Azure CLI).
Install
connectors first, then the provider; generate a migration after each:
Drop --apply to read each plan first. The install also adds the 17 * * * * cron to both
wrangler tomls (pnpm provision cloudflare <env> writes it).
First run
Ask your coding agent to set up Microsoft 365 connections — the connectors skill registers
the app, sets M365_CLIENT_ID / M365_CLIENT_SECRET without ever printing the secret, and
checks your redirect URI. Or follow the steps in m365.
As an organisation admin, open Settings → Connections and press Connect Microsoft 365.
A Microsoft Global Administrator (or Privileged Role Administrator) consents.
The directory syncs first; calendars follow for people who are members of your app.
rocketflare connectors status shows every cursor; My calendar shows your events.
Who sees what
Platform operator (global admin): the deployment-setup panel with the app-registration steps.
Organisation owner/admin: connect, consent, sync, disconnect — and every synced calendar in
their organisation. On a deployment with no operator app, they are told to ask the operator or to
bring their own app.
Member: their own calendar, and connection status only.
Tokens and secrets are sealed at rest and never returned by the API.
Known gaps (phase 1)
Microsoft 365 only; Google Workspace is designed but not built.
Polling hourly (a faster cron would keep a Neon compute awake); webhooks (phase 2) are not
built. Sync now or pnpm cli connectors sync syncs at once.
Directory and calendar only; mail and files (phase 3) and per-user connections (phase 4) are not
built.
Admins can read every synced calendar in their organisation; there is no per-person opt-out.
The directory is matched to your app’s members by email; it does not create users or groups.