Get to know your Exchange Web Services URL ( Connect URL )

Get to know your Exchange Web Services URL ( Connect URL )

To use EWS for incoming ( or ) outgoing mail server settings, one needs to know the exact connect URL. Generally, the connect URL syntax will be like https://<your_server_name>/EWS/Exchange.asmx

For Office365 users, the connect URL will be https://outlook.office365.com/EWS/Exchange.asmx

In case of On-Premises, one can get to know their Exchange's Connect URL ( EWS URL ) by the following steps

i) Using Exchange Management Shell

> Go to your Exchange Server.
> Open Exchange Management Shell
> Type the below command and execute
      
      Get-WebServicesVirtualDirectory | fl



> You can get the EWS URL from the InternalURL and ExternalURL. Use ExternalURL if available.

ii) Using Exchange Admin Centre ( /ecp )

> Login as administrator to the /ecp portal of your Exchange Server.
> Go to Servers >> Virtual Directories.
> Select your Exchange Server and select the Server Type as Exchange Web Services ( EWS ).
> Double click the EWS server. You can see the window as shown in the image below



> You can get the EWS URL from the InternalURL and ExternalURL. Use ExternalURL if available.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Apply certificate for EWS mail configuration in SDP.

                              EWS protocol support is introduced in 10006 version of SDP ( Limited to windows servers ). User can configure EWS for both incoming and outgoing settings in SDP. Note: If the mail server is O365 , then you need not perform these steps as the ...
                      • Unable to send reply’s in a specific format from the application when EWS is configured

                         When trying to send reply mail, if a user mail address is entered in the format "Name<email-address>", then an exception in EWS since, could not resolve this toaddress. Log Trace :  [22:10:27:393]|[09-21-2022]|[SYSERR]|[INFO]|[157]: ...
                      • Fix jar for EWS connectivity issue

                        Issue: In EWS for incoming, we are facing intermittent connectivity issues like 'unexpected end of ZLIB input stream', '(503) service unavailable', 'this connection to store is dead' etc. Resolution: Apply the attached fjar (Download the build ...
                      • How to connect to the ServiceDesk database?

                        Open command prompt on the server and change the directory to MangeEngine\ServiceDesk\bin, invoke the batch file 'changeDBServer.bat' For MSSQL database  Connect to the query analyzer of the SQL server and execute the queries. For PostgreSQL database ...
                      • Fix: Error while sending mail using EWS

                        Issue trace: [11:58:49:091]|[11-29-2022]|[SYSERR]|[INFO]|[122]: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The operation can't be performed because the item is out of date. Reload the item and try ...