> For the complete documentation index, see [llms.txt](https://docs.alemba.com/asm-hermes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alemba.com/asm-hermes/setup-and-configure-asm/setting-up-your-system/setup-email/setting-up-incoming-and-outgoing-email/configuring-exchange-web-services-ews.md).

# Configuring Exchange Web Services (EWS)

{% hint style="warning" %}
Microsoft have [announced](https://techcommunity.microsoft.com/t5/exchange-team-blog/retirement-of-exchange-web-services-in-exchange-online/ba-p/3924440#:~:text=In%202018%2C%20we%20announced%20that,Microsoft%20apps%20to%20Exchange%20Online.) that effective **1st October 2026** that they will start blocking EWS Requests from all non-Microsoft Apps to Exchange Online.&#x20;

Exchange Web Services (EWS) is one of the supported methods to connect ASM to your Incoming or Outgoing Email Server(s).

This should not affect EWS via Exchange Server. Please confirm this with your Microsoft Account Manager.&#x20;

Alemba recommends configuring and testing ASM Email servers to connect to Exchange Online via the MS Graph API Protocol. Information is available on how to configure this below.
{% endhint %}

{% content-ref url="/pages/aYnd2fYH3aW2m9utOpTa" %}
[Configure Azure MS Graph API](/asm-hermes/setup-and-configure-asm/setting-up-your-system/setup-email/setting-up-incoming-and-outgoing-email/configure-azure-ms-graph-api.md)
{% endcontent-ref %}

Exchange Web Services (EWS) is a system of reference that enables enterprise business applications to access commonly shared source data in a scalable, real-time, and highly available architecture. The pages that follow will guide you through configuring EWS for email.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.alemba.com/asm-hermes/setup-and-configure-asm/setting-up-your-system/setup-email/setting-up-incoming-and-outgoing-email/configuring-exchange-web-services-ews.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
