none
Impact of changing EWS URL? (Exchange 2007) RRS feed

  • Question

  • Hello,

    We use Exchange 2007, we have 2 x Mailbox servers and 2 x CAS servers and 1 x ISA/OWA server.

    We have changed our company name recently and had to update our certs etc, but I ran this command on one of our CAS servers:

    [PS] C:\Documents and Settings\exchange>Get-WebServicesVirtualDirectory |fl identity,internalurl,externalurl


    Identity    : EXCH-CAS-01\EWS (Default Web Site)
    InternalUrl : https://exch-vcas/EWS/Exchange.asmx
    ExternalUrl : https://webmail.oldname.co.uk/EWS/Exchange.asmx

    Identity    : EXCH-CAS-02\EWS (Default Web Site)
    InternalUrl : https://exch-vcas/EWS/Exchange.asmx
    ExternalUrl : https://webmail.oldname.co.uk/EWS/Exchange.asmx

    I need these URLs to say https://webmail.newname.co.uk/EWS/Exchange.asmx but:

    1.) How do I do this?

    2.) What impact to users where there be?

    Thanks


    • Edited by TB303 Thursday, May 8, 2014 10:46 AM
    Thursday, April 24, 2014 10:32 AM

Answers

  • There is -ExternalUrl as well. EWS is a Exchange API. It exposes mailbox and public folder data via a web service so that applications can send XML formatted post data, and receive responses that contain the information that was asked for. It doesn't have anything to do with OWA, and your smartphones will probably use ActiveSync, which doesn't use EWS either. It is mostly used by the most recent versions of Outlook on Windows, slightly older versions of Outlook on the Mac, and some third-party applications. Any Exchange application you might write yourself will probably use EWS.

    OWA For SmartPhone

    Thursday, April 24, 2014 1:42 PM

All replies

  • You use Set-WebServicesVirtualDirectory

    http://technet.microsoft.com/en-us/library/aa997233(v=exchg.150).aspx

    That is for E2010, and if the cmdlet isn't available for E2007 (cmdlet sets have evolved over the years), then I can't think of any other way you might do it.

    There shouldn't be any issues at the client end, if they're not already having issues with the difference in the cert name.


    OWA For SmartPhone

    Thursday, April 24, 2014 11:58 AM

  • I did find this, but it is for internal:  

    Set-WebServicesVirtualDirectory –Identity “<EWS Name>” –InternalUrl: https://url.domain.local/EWS/Exchange.asmx

    what does EWS do in short?  We use OWA and Smartphones I guess they use it?


    Thursday, April 24, 2014 12:39 PM
  • There is -ExternalUrl as well. EWS is a Exchange API. It exposes mailbox and public folder data via a web service so that applications can send XML formatted post data, and receive responses that contain the information that was asked for. It doesn't have anything to do with OWA, and your smartphones will probably use ActiveSync, which doesn't use EWS either. It is mostly used by the most recent versions of Outlook on Windows, slightly older versions of Outlook on the Mac, and some third-party applications. Any Exchange application you might write yourself will probably use EWS.

    OWA For SmartPhone

    Thursday, April 24, 2014 1:42 PM
  • Hi,

    Agree with the above suggestion, it has no influence for clients to change the EWS URLs. And Exchange Web Services make clients access Exchange server from virtually any locale that has network access via HTTP. It provides for complex calendaring functionality, such as recurring meetings and the ability to send, modify, and cancel meetings.

    For more information, you can refer to the following article:

    http://msdn.microsoft.com/en-us/library/bb408417(v=exchg.80).aspx

    If you have any question, please feel free to let me know.

    Thanks,


    Angela Shi
    TechNet Community Support

    Monday, April 28, 2014 8:43 AM
    Moderator
  • Thanks guys let me try it, I'm going to use this:

    Set-WebServicesVirtualDirectory –Identity “<EWS Name>” –ExternalUrl: https://url.domain.local/EWS/Exchange.asmx

    Any suggestions what goes where "EWS Name" is?



    • Edited by TB303 Thursday, May 8, 2014 10:51 AM
    Thursday, May 8, 2014 10:45 AM
  • Judging by the edit you made, I think you worked out the answer :-)

    OWA For SmartPhone

    Thursday, May 8, 2014 10:52 AM
  • Take a look, I wasn't quick enough with the edit :)
    Thursday, May 8, 2014 10:53 AM
  • I think you want this

    -identity  "EXCH-CAS-01\EWS (Default Web Site)"


    OWA For SmartPhone

    Thursday, May 8, 2014 10:56 AM
  • Looks good and commands accepted, I will now test and let you know.

    Thanks again for taking the time to reply most appreciated.

    Thursday, May 8, 2014 11:03 AM