none
EWS, External App and Exchange on prem 2013

    Question

  • Hi,

    We are working with a vendor who has a mail app which they were attempting to connect via pop3/imap to our exchange server.  We do not have these items enabled as they are old and suggested they go through EWS.  They've researched the item and asked us to register for an App/API but I'm not sure I'm following their logic.

    Our Exchange/AD are on prem.  Do I have to register https://apps.dev.microsoft.com/?referrer=https://azure.microsoft.com/documentation/articles&deeplink=/appList

    or is this something they need to do?  Any help anyone can provide would be greatly appreciated as this is beyond my knowledge.

    Monday, February 11, 2019 9:50 PM

All replies

  • They really shouldn't need to involve you other then implementation https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/ews-applications-and-the-exchange-architecture

    That said I guess it depends on what it is they are delivering for you and how important it is, i.e. changing over toe EWS is not a simple and quick process


    Search, Recover, Export Mailboxes, Contacts, Calendars, Tasks from ALL versions of Exchange Offline EDB's, On-Premises Exchange Databases & Office 365. Export, Migrate/Recover into On-Premises Exchange Server, Office 365 with Lucid8's DigiScope

    Monday, February 11, 2019 10:12 PM
  • If your running OnPrem Exchange 2013 then your vendor is just plain wrong (I would be suspect about any application they are selling you given the support advice), what they are asking you to do is create a App registration for using OAuth in Office365 which you don't have.

    EWS 2013 supports NTLM,Kerbros and Basic Auth so that's what they will need to use for authentication. If you want to test if EWS is working okay on your server yourself just use https://github.com/dseph/EwsEditor/releases or even https://testconnectivity.microsoft.com/ . If they work okay and the vendor starts pushing you for any config changes be very very suspect of anything they tell you.

    Cheers
    Glen

    Monday, February 11, 2019 10:58 PM
  • They are attempting to read the contents of a mailbox and send/receive emails.  
    Monday, February 11, 2019 11:45 PM
  • EWS is working ok but the question is how do they connect into it from their application?  They sent me this screen shot asking for the below information.
    Monday, February 11, 2019 11:50 PM
  • That is for Office365 which you don't have correct ? they seem to believe you either have Office365 or Hybrid Exchange or they don't understand the difference between OnPremise Exchange and Office365.

    >>EWS is working ok but the question is how do they connect into it from their application?

    If everything is setup correctly then they should be able to Autodiscover the External EWS endpoint based on the Email Address for that account they are connecting with. This is how any client application would connect to you server using EWS https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-communicate-with-ews-by-using-the-ews-managed-api . 

    Cheers
    Glen

    Tuesday, February 12, 2019 11:46 PM