0

Currently in our EWS managed API we are using "https://outlook.office365.com/ews/exchange.asmx".

My question is would this work with any customer setup? I read somewhere that above URL may have the company name part of it.

JD.
  • 15,171
  • 21
  • 86
  • 159
  • You should be using autodiscovery to find the right URL. Have a look at this answer: http://stackoverflow.com/a/32355996/64161 – Jakob Christensen Jan 26 '17 at 15:41
  • @JakobChristensen Thanks, i have seen replies where it has been stated that autodiscoverUrl is not required and some MSDN references do not use it. SO should I be using this? – JD. Jan 26 '17 at 20:49
  • Yes I think you should. Then you will never have to worry about Microsoft changing the URLs. – Jakob Christensen Jan 26 '17 at 21:10

1 Answers1

1

We have had no issues using that URL for all our customers.

It translates 'internally' (at the Exchange side) to something like https://pod50446.outlook.com/ews/exchange.asmx but you never have to deal with that.

Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
  • Hi Jan, I tried Autodiscover and found the URL returned was the same outlook URL. Weird. Anyway, since AutoDiscover takes so long, we may just go with the outlook URL. – JD. Feb 04 '17 at 16:46