How to Fix Unable to Sign In Through Exchange Web Services (EWS) URL
Question details
The user is unable to authenticate and sign in to their Office 365 account using the Exchange Web Services (EWS) URL.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Attempting to authenticate a service account or user account via the EWS endpoint (Exchange.asmx).
- Observed behavior
- Authentication fails when accessing https://outlook.office365.com/EWS/Exchange.asmx, and connectivity analyzer tests indicate sign-in blocks.
Ensure you have your Microsoft 365 administrator contact handy, as resolving EWS authentication issues often requires admin-level access to the Microsoft Entra admin center.
Verify Web Login and Review Conditional Access Policies
Confirm your credentials are correct via the web portal, then have an admin check if security policies are blocking EWS authentication.
Exchange Web Services (EWS) authentication failures are frequently caused by legacy authentication deprecation or strict Conditional Access policies rather than incorrect passwords. Ruling out standard credential issues first helps isolate backend policy restrictions.
Go to Microsoft365.com or Office.com in your web browser and attempt to sign in with the affected account credentials to ensure the account is active and the password is correct.
If web sign-in is successful but EWS connectivity fails, reach out to your Microsoft 365 administrator, as they will need to check backend directory settings.
Ask the administrator to log into the Microsoft Entra admin center (Azure portal) and navigate to the user's sign-in logs to locate the specific failed authentication attempt.
In the Azure portal, the administrator should verify if any Conditional Access policies are explicitly blocking legacy authentication or blocking the EWS protocol for your user/service account.

Need a simpler office solution? Try WPS Office Free
If complex Microsoft 365 administration and Conditional Access issues are slowing down your daily document productivity, consider WPS Office. It provides a lightweight, highly compatible, and easy-to-use alternative to Microsoft Office, supporting all major document formats without the enterprise setup hassle.

Frequently Asked Questions
What is the correct EWS URL for Office 365?
The standard Exchange Web Services (EWS) URL for Microsoft 365 accounts is usually https://outlook.office365.com/EWS/Exchange.asmx.
Why does EWS authentication fail even with the right password?
It often fails because Microsoft has deprecated basic authentication for EWS to improve security, or because a Conditional Access policy in your organization's Microsoft Entra admin center is explicitly blocking the connection.
How can I test my Exchange Web Services connectivity?
You can use the official Microsoft Remote Connectivity Analyzer tool online. It allows you to enter your credentials and EWS URL to diagnose exact authentication blocks or Autodiscover errors safely.
Can basic authentication still be used for EWS?
Microsoft has actively disabled basic authentication for most protocols in Exchange Online, including EWS. Developers and service accounts generally need to transition to modern authentication (OAuth 2.0) to maintain access.




