EWS to Microsoft Graph: Update Your Email Integrations

30 July 2026
KingswaySoft Team

Microsoft is retiring Exchange Web Services (EWS) for Exchange Online, with the phase-out beginning in October 2026. According to Microsoft's official announcement and timeline available here, legacy EWS-based integrations will gradually stop working as the retirement progresses.

For organizations that rely on automated email processing in SQL Server Integration Services (SSIS), this change is significant. EWS has long been used for reading and sending emails in Exchange Online, but Microsoft is now moving customers toward Microsoft Graph and modern OAuth-based access. As a result, updating existing integrations is no longer just recommended—it is essential for maintaining business continuity and avoiding future service disruptions.

Fortunately, if your packages use the KingswaySoft Email Connection Manager and Email Source/Destination components, you do not need to rebuild your data flows from scratch. In most cases, the migration involves updating Azure Entra ID permissions, switching the connection manager to use the newly introduced Microsoft Graph option (available starting with v26.2), and refreshing component metadata to account for a few API differences.

Before proceeding, it is important to understand that Microsoft Graph does not provide complete feature parity with EWS. Certain properties that were previously available through EWS may not be exposed through Microsoft Graph. You can find additional details about the EWS retirement and the current Microsoft Graph limitations on our resources page.

With that in mind, let's walk through the steps required to upgrade an existing KingswaySoft email integration to Microsoft Graph.

Update Azure Entra ID Application Permissions

If your existing EWS integration already uses OAuth authentication, you can typically continue using the same Azure Entra ID application. The main change is to add the required Microsoft Graph API permissions.

Open your registered application in Azure Entra ID, navigate to the API permissions page, and click + Add a permission.

Azure Entra App Add permission

On the Request API permissions page, select Microsoft Graph, then choose either Delegated or Application permissions depending on how your package authenticates and accesses mailboxes.

Azure Entra App Microsoft Graph permissions

Delegated and Application permissions

Some permissions require administrator consent. After adding the necessary permissions, click Grant admin consent if applicable.

Grant admin consent for API permissions

The exact permissions required will vary depending on whether your package reads mail, sends mail, accesses shared mailboxes, or performs other mailbox operations.

Update the KingswaySoft Email Connection Manager

Once the Azure application is ready, open your SSIS package. You can either:

  • Modify the existing Email Connection Manager, or
  • Create a new Email Connection Manager configured for Microsoft Graph.

In the connection manager, set the Protocol to Exchange Online (Microsoft Graph).

Email connection manager with MS Graph

Next, click Generate Token File and complete the OAuth authorization process using the same approach you normally use for any other Microsoft Graph connections.

If you updated an existing connection manager, you can proceed directly to the metadata refresh step. If you created a new connection manager, continue with the next section to replace the connection without losing your component configuration.

Replace the Connection Manager Without Resetting Component Settings

When a connection manager is changed through the standard component UI, SSIS may reset portions of the component configuration. To avoid reconfiguring the Email Source or Email Destination, use the Advanced Editor instead.

Right-click the Email Source or Email Destination component and select Show Advanced Editor.

Advanced Settings options in SSIS for Email component

In the editor, select the newly created Microsoft Graph connection manager and click OK to save the change.

Choose MS Graph connection manager

Refresh Component Metadata

This is the most important step in the migration process.

Because Microsoft Graph does not expose all of the fields that were previously available through EWS, some output columns may no longer be valid. Examples can include properties such as ChangeKey, Priority, and other EWS-specific fields.

Open the Email Source or Email Destination component and click Refresh to reload the metadata from Microsoft Graph.

Click on the Refresh button

After the refresh completes, click OK to save the component.

Resolve Unmapped Columns

After refreshing metadata, SSIS may show a red X on the data flow path because some previously mapped columns no longer exist.

Right-click the affected path and choose Resolve References.

Resolve references in SSIS data flow path

In the dialog, select Delete Unmapped Input Columns to remove references to fields that are no longer available from Microsoft Graph.

Validate and Test the Package

At this point, the package is configured to use Microsoft Graph instead of EWS. Before deploying to production, run the package and validate the following:

  • Authentication succeeds and the token is acquired correctly.
  • Emails can be read or sent as expected.
  • Shared mailbox access works if applicable.
  • Downstream transformations do not depend on those removed EWS-specific columns.

Final Thoughts

Migrating from EWS to Microsoft Graph is a necessary step for all Exchange Online integrations. While there are a few feature-parity gaps between the two APIs, Microsoft Graph provides a more modern and secure foundation with OAuth 2.0 authentication, a lightweight JSON-based API, and unified access across the Microsoft 365 ecosystem.

For existing KingswaySoft SSIS packages, the upgrade is typically straightforward: update Azure permissions, switch the Email Connection Manager to Microsoft Graph, refresh metadata, and remove any obsolete column mappings. Performing this migration now helps ensure that your automated email workflows continue to run reliably as Microsoft phases out EWS over the coming months.

We hope this guide helps you transition your existing KingswaySoft email integrations to Microsoft Graph with minimal disruption.

Archive

July 2026 3 June 2026 1 May 2026 3 April 2026 3 March 2026 2 February 2026 2 January 2026 2 December 2025 2 November 2025 2 October 2025 2 September 2025 2 August 2025 2 July 2025 2 June 2025 1 May 2025 2 April 2025 3 March 2025 1 February 2025 1 January 2025 2 December 2024 1 November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags