Body
Purpose
The Evolution Mail client supports Microsoft 365 through the evolution-ews plugin, starting in evolution-ews v3.27.91 and above. The plugin provides Exchange Web Services and modern authentication support, required to access Microsoft 365 mail with Duo MFA. Any Linux distribution with evolution-ews v3.27.91 or above in its package repository should work with UTD email services.
Evolution Setup
- Install the Evolution packages if not already installed.
- Open a terminal and execute the following commands as the root user:
- RHEL/CentOS/Rocky Linux:
$ sudo dnf install evolution evolution-ews
- Ubuntu/Debian:
$ sudo apt update
$ sudo apt install evolution evolution-ews
- Launch Evolution. If this is the first run you will be presented with the Add Account Wizard.
- If Evolution was already configured, go to File > New > Mail Account to open the Wizard.
- Click Next on the initial welcome screen.

- When prompted to restore from backup, ensure Restore from a backup file: is unchecked and click Next.

- Enter your name and email address in the "Required Information" fields, uncheck Lookup mail server details based on the entered email address, and click Next.

- In the Receiving Email step, set the Server Type drop-down menu to "Exchange Web Services", enter your email address in the Username field, and change the Host URL field to https://outlook.office365.com/EWS/Exchange.asmx.
- On the Authentication drop-down menu select OAuth2 (Microsoft365).
- If OAuth2 (Microsoft365) is not listed as an option, click Check for Supported Types first.
- Check the box Override Microsoft365 OAuth2 settings and enter the following values for Tenant and Application ID:
- Tenant: 8d281d1d-9c4d-4bf7-b16e-032d15de9f6c
- Application ID: a9170526-040b-453c-aac5-36155cba7a26
- Your screen should resemble the following:

- Click Finish to proceed.
- Click Apply to add the account to Evolution.
- If you do not receive a pop-up window with the UTD logo and a login prompt, the Evolution process might be frozen. Open a terminal and enter the command:
sudo pkill evolution
. Then, relaunch Evolution.
- If you receive an error stating another Evolution process is already running, reboot your computer and re-open Evolution when complete.

- You should receive a popup window with the UTD logo and a login prompt. Enter your password and select Sign in.

- Authenticate with Duo.

- Select Accept.

- Your account has been successfully added to Evolution mail.