Enabling EWS on my new "onmicrosoft.com" domain

hauld 136 Reputation points
2021-09-22T18:07:05.05+00:00

I have a server with a EWS application.
It is not clear what I should use for the service URL of the On-Line Exchange were. Nor can I find under my administration where I can check that the EWS service is enable/active on Microsoft Exchange Admin center.

Every combination of URL fail.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,705 questions
0 comments No comments
{count} votes

Accepted answer
  1. hauld 136 Reputation points
    2021-09-22T18:55:02.973+00:00

    That worked. However I'm getting a "The request failed. The remote server return an errors: (401) Unauthorized." I'm using the Office365 administrator account. But it did connect to the cloud, that's a step forward.

    I know I had to use Microsoft app to authenticate when I use the OWA. Does this have any barring on my new issue?

    2 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Vasil Michev 109.7K Reputation points MVP
    2021-09-22T18:40:32.987+00:00

    It's enabled by default, and all O365 tenants use the same URL: "https://outlook.office365.com/EWS/Exchange.asmx"

    2 people found this answer helpful.
    0 comments No comments

  2. Glen Scales 4,441 Reputation points
    2021-09-22T23:42:54.04+00:00

    Basic Authentication is disabled by default now (and if you not using it) https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-february-2021-update/ba-p/2111904 . You should be using OAuth eg https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth in your application.

    If you just want to test EWS and oAuth try the EWSEditor https://github.com/dseph/EwsEditor/releases the new version has really good support for testing both Delegate and Application permissions

    2 people found this answer helpful.
    0 comments No comments

  3. hauld 136 Reputation points
    2021-09-23T00:15:39.673+00:00

    GlenScales-6756, thank you. I need to try this out. I will update later.
    Thanks

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.