Configuring the Evolution mail client for MFA with Exchange Web Services (EWS)

Step by Step

These instructions assume that you have already installed Evolution Mail and the corresponding "evolution-ews" package for your Linux distribution.  The screenshots are from Red Hat Enterprise 7.6, Evolution version 3.28.5 so, depending on your version of Linux, what you see may differ from what is presented.  Step 4 has all the "magic values" in it.  The rest is fairly self-explanatory.

  1. Launch Evolution.
  2. You may automatically see the Configuration Assistant.  If not, you can start it from the File menu.  File: New: Mail AccountWelcome page
  3. Click Next to get to the Identity page. 
    • Enter your Full Name as you wish it to appear to recipients of your email.
    • Enter your Dartmouth email address.
    • Uncheck the "Look up mail server..." boxIdentity page
  4. Click Next to get to the Receiving Email page.  There is lots to change here.
    • Server Type: Exchange Web Services
    • Username: netid@dartmouth.edu
    • Host URL: https://outlook.office365.com/EWS/Exchange.asmx
    • Authentication Type: OAuth2 (Office 365)
    • Check the box to override the OAuth2 settings
      • Tenant: 995b0936-48d6-40e5-a31e-bf689ec9446f
      • Application ID: 3cab1240-c9f1-4a23-b485-67e160e13f6cReceiving Email page
  5. Keep clicking Next until you get to the final screen.  Settings on these pages are outside the scope of these instructions and are optional.
  6. Click Apply on the final screen.Done page

Details

Article ID: 84387
Created
Tue 8/6/19 8:33 AM
Modified
Fri 7/15/22 2:55 PM

Related Articles (1)

OAUTH2 with O365/Exchange MFA has been tested successfully on Alpine 2.25.
It does not work with Alpine 2.22 since needed menu items are missing.
This was documented against Alpine 2.25 on Ubuntu 20.04. (built from source)