Skip to content
  • There are no suggestions because the search field is empty.

Retirement of Basic Authentication and EWS for Microsoft Exchange Online

This article explains Microsoft's retirement of Basic Authentication and Exchange Web Services (EWS) for Exchange Online, and what it means for your AskCody integration.

Microsoft has retired Basic Authentication for Exchange Online, and is now retiring Exchange Web Services (EWS) as a whole. Starting October 1, 2026, Microsoft begins blocking EWS requests in Exchange Online, and on April 1, 2027, EWS is permanently removed. You can read Microsoft's official announcement. This timeline is set by Microsoft and applies to every application using EWS with Exchange Online, not just AskCody.

This article is written for the IT Admin responsible for the AskCody integration.

What this means for your AskCody integration

AskCody's Exchange Online integration now runs on Microsoft Graph, which replaces both Basic Authentication and Modern Authentication over EWS. The upgrade to Microsoft Graph is the single step that resolves both retirements.

If your integration still uses Basic Authentication (a service account with username and password): your integration is affected by both retirements. Upgrade to Microsoft Graph before October 1, 2026. Follow How to upgrade your Exchange Online integration to Microsoft Graph. Your Microsoft 365 Global Administrator will need to grant consent to the AskCody enterprise application as part of the upgrade.

If your integration uses Modern Authentication (OAuth 2.0) over EWS: Modern Authentication solved the Basic Auth retirement, but EWS itself is now being retired. Upgrade to Microsoft Graph before October 1, 2026, following the same guide.

If your integration already runs on Microsoft Graph: you are done. Nothing in these retirements affects you.

Note: Exchange Server (on-premises and hybrid setups) is not affected by the EWS retirement in Exchange Online. On-premises integrations continue to run on EWS. See How to handle Hybrid Exchange Setups if you run both.

Why Microsoft Graph

Microsoft Graph is Microsoft's supported API for Microsoft 365 data going forward. For your organization, the practical differences are:

  • No service account. No stored credentials, no password rotation, no account to audit separately.
  • Narrower permissions. The Graph integration uses application permissions scoped to calendars and directory basics (Calendars.Read, Calendars.ReadWrite, GroupMember.Read.All, User.Read.All), instead of the full mailbox access EWS applications required. The full list is maintained in Permissions used and required connecting AskCody with MS Graph and Entra ID.
  • No EWS URL or Exchange version configuration. The integration is established through one admin consent.

The deadline in short

  1. Before October 1, 2026: upgrade your AskCody integration to Microsoft Graph. AskCody runs scheduled migration waves through September 2026, and you can upgrade yourself at any time before your wave.
  2. From October 1, 2026: Microsoft begins blocking EWS in Exchange Online. 
  3. On April 1, 2027: EWS is permanently removed from Exchange Online.

If you have questions about your organization's migration, please submit a support ticket.