Share via

Enabling EWS on my new "onmicrosoft.com" domain

hauld 161 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 | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

0 comments No comments

Answer accepted by question author

hauld 161 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?

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. hauld 161 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

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  2. Glen Scales 4,446 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

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  3. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    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"

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

Your answer

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