Skip to content

[Outlook] Deprecate full_access_as_app permissions in favour of Graph API permissions for Outlook Cloud #4264

Description

@artem-shelkovnikov

Problem

Outlook Cloud connector requires full_access_as_app permission, see our official docs: https://www.elastic.co/docs/reference/search-connectors/es-connectors-outlook#es-connectors-outlook-client-connect-to-office365-outlook-outlook-cloud

This permission / EWS path is being deprecated by Microsoft by 1st April 2027 with deprecation starting in October 2026: https://techcommunity.microsoft.com/blog/exchange/exchange-online-ews-your-time-is-almost-up/4492361

We need to adjust the connector to only use Graph API for Outlook Cloud. In practice this means separation into Outlook Cloud and Exchange Server connectors, because the systems differ.

Decision: create new service types for backwards compatibility — legacy outlook stays frozen; new types are outlook_cloud (Graph-only) and exchange_server (EWS + LDAP).

Target

Service type Target API
outlook (legacy) Existing deployments EWS (frozen / deprecate)
outlook_cloud (new) Exchange Online / M365 Microsoft Graph only
exchange_server (new) On-prem Exchange Server EWS + LDAP

outlook_cloud v1 = full parity with current cloud sync: mail (4 folders) + calendar + contacts/DLs + tasks + attachments + DLS.

Sub-issues (execution order)

Phase 0 — Design

Phase 1 — Split / freeze (after design; can run in parallel)

Phase 2 — outlook_cloud foundation

Phase 3 — outlook_cloud data plane (sequential)

Phase 4 — Product integration

Phase 5 — Verification and release

Planning preferences (not confirmed — do not close related issues/PRs yet)

Notes

  • Graph does not replace EWS for on-prem Exchange Server mailboxes.
  • Migrating legacy outlookoutlook_cloud will require a full resync (Graph _id ≠ EWS item.id).
  • Connectors + Kibana native definitions must ship together for native UX.
  • Scoped mailbox testing for customers can be documented as an Entra/Exchange admin setup if Application Access Policy is chosen.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions