Updated: · Microsoft sources checked 30 November 2026
Many "save attachments" jobs were built on Exchange Web Services: a PowerShell script with the EWS Managed API, a Python job using exchangelib, an old document-management or scanning connector. In Exchange Online those requests are now being blocked, and the last escape hatch closes on 1 April 2027. Here is the timeline from Microsoft's own posts, how to tell whether your workflow depends on EWS, and the realistic replacements.
Short answer: Microsoft began blocking EWS in Exchange Online on 1 October 2026, tenant by tenant. Admins can switch it back on temporarily, but from 1 April 2027 EWS is permanently disabled with no exceptions. Exchange Server on-premises is not affected. To keep attachments flowing, rewrite the job against Microsoft Graph, rebuild it in Power Automate, or use a service that already connects through Microsoft's OAuth sign-in, such as Inbox2Drive (Free plan available).
Free plan, no credit card · Help by email
| Date (per Microsoft) | What happens in Exchange Online |
|---|---|
| Until 30 Sep 2026 | EWS works. Tenants that set EWSEnabled to True with an AppID allow list by the end of September were excluded from the October change. |
| From 1 Oct 2026 | Initial blocking, rolled out tenant by tenant: where EWSEnabled is still Null, it is changed to False and EWS requests stop working. |
| Oct 2026 to Mar 2027 | Admins can temporarily re-enable EWS if critical workflows break: EWSEnabled=True plus an allow list of application IDs, or back to Null through Exchange Online PowerShell. |
| 1 Apr 2027 | EWS is fully and permanently disabled. Admins can no longer change the setting, and Microsoft says there will be no exceptions. |
Sources: the Exchange Team posts Exchange Online EWS, your time is almost up (February 2026, updated October 2026) and the original retirement announcement (September 2023), plus the Microsoft Learn page Deprecation of EWS in Exchange Online. Microsoft describes the October change as a staged rollout, so the exact day it reached your tenant may differ.
Not affected: mailboxes on Exchange Server on-premises. Microsoft states that EWS is not being retired there; only cloud mailboxes must move to Microsoft Graph.
If a job that copies attachments out of a Microsoft 365 mailbox stopped working in October or November 2026, EWS is the first suspect. Typical signs that a workflow depends on it:
Microsoft.Exchange.WebServices.dll (the EWS Managed API) or call an …/EWS/Exchange.asmx endpoint.exchangelib library, which talks to Exchange through EWS./EWS/Exchange.asmx.Microsoft's retirement post links to its guidance for finding which applications still call EWS in your tenant and to a "my EWS application stopped working" quick-relief post. If you find a vendor product, ask the vendor whether its current version uses Microsoft Graph before re-enabling anything.
Re-enabling is only a bridge. Turning EWS back on with an allow list buys time until 1 April 2027. It does not fix the job; plan the replacement now so it is tested before the final date.
| Option | Effort | Survives April 2027? | Main drawbacks |
|---|---|---|---|
| 1. Temporarily re-enable EWS | Minutes (admin) | No | Ends on 1 April 2027; only delays the work. |
| 2. Rewrite the script with Microsoft Graph | Days (developer) | Yes | App registration, permissions, throttling, large-file uploads and maintenance are on you. |
| 3. Power Automate flow | Hours | Yes | One flow per mailbox and pattern; folder logic by document type gets complex; licensing limits on some connectors. |
| 4. Inbox2Drive | Minutes | Yes | Connects the mailbox of the account that signs in (no direct shared mailboxes); your organisation may require admin approval of the app. |
Microsoft's recommended path. A typical attachment job becomes: list new messages that have attachments in the mailbox, fetch each message's attachments, and upload the files to a OneDrive or SharePoint document library (a simple upload for small files, an upload session for large ones). You will need an app registration in Microsoft Entra ID with mail and file permissions, and, for unattended jobs, application permissions that you should scope to the mailboxes the job really needs rather than the whole tenant.
Good: full control, no extra vendor. Watch out: it is real development work, Microsoft's Learn page lists EWS features without a Graph equivalent (for example generic public folder access), and the script needs an owner who will maintain it.
The Office 365 Outlook connector's "When a new email arrives" trigger with attachments included, followed by a OneDrive or SharePoint "Create file" action, replaces the simplest scripts without code. It also has a trigger for shared mailboxes. See our Power Automate comparison and the shared mailbox guide for the details and limits.
Good: already included in many Microsoft 365 plans. Watch out: sorting files into folders by supplier, document type or date means expressions and conditions per case, and someone has to look after failed runs.
Inbox2Drive connects an Outlook or Microsoft 365 mailbox through Microsoft's own sign-in and permission screen (OAuth), not EWS, so this retirement does not touch it. It reads new mail, classifies each attachment with AI (invoice, receipt, contract and more) and saves it into OneDrive, Google Drive or Dropbox folders by type, sender and date. It never sends or deletes email.
Good: no script to maintain, and the folder logic is a setting instead of code. Watch out: it connects the mailbox of the account that signs in; for a shared mailbox, forward its messages with attachments to a connected user mailbox. In tenants that block user consent, an admin has to approve the app once. Step by step: save Outlook attachments to OneDrive or to Google Drive.
Which mailbox it read, which messages (all, or only from certain senders), where files went and how they were named. That becomes your folder rules.
Create a free account, choose Outlook / Microsoft 365 and sign in with the mailbox's account. If Microsoft shows "Need admin approval", your IT admin must approve the app once.
OneDrive, Google Drive or Dropbox. Pick a base folder, then organise by document type, sender, date or a combination.
While EWS is still re-enabled in your tenant, let both run for a few days, compare the results, and switch the old job off before 1 April 2027.
Microsoft started blocking EWS on 1 October 2026, rolling out tenant by tenant. Admins can temporarily re-enable it, but from 1 April 2027 EWS is fully and permanently disabled and the setting can no longer be changed.
No. Microsoft's October 2026 update says there will be no exceptions past April 2027. Until then, an admin can set EWSEnabled to True with an allow list of application IDs, or back to Null through Exchange Online PowerShell.
No. Microsoft states there are no changes to EWS in Exchange Server. Only mailboxes in Exchange Online have to move to Microsoft Graph.
The retirement targets applications that call EWS. Microsoft's own guidance is aimed at custom apps and third-party products; if a specific client or add-in stops working, check with its vendor whether a Graph-based version exists.
No. Outlook and Microsoft 365 mailboxes are connected through Microsoft's OAuth sign-in and permission screen, so the EWS retirement does not affect it. You can revoke its access at any time from your Microsoft account or, for work accounts, from the Entra admin center.
Not directly: it reads the mailbox of the account that signs in. The workaround is a rule in the shared mailbox that forwards messages with attachments to a user mailbox you connect, or Power Automate's shared mailbox trigger if you want to stay inside Microsoft 365.
More guides: Outlook rules and attachments · Can Copilot save attachments? · all English guides.
Connect the mailbox through Microsoft's sign-in, choose OneDrive, Google Drive or Dropbox, and keep attachments landing in the right place without a script to maintain. Questions about your setup? Write to marketing@inbox2drive.com and we'll reply by email.
Create a free accountNo credit card required