Obtaining Evolution EWS
For Ubuntu, Debian, and their variants, open a terminal and run the following shell commands:
sudo apt-get remove evolution
sudo apt-get update
sudo apt-get install evolution
sudo apt-get install evolution-ews
(The first command will remove any existing version in case an older, non-EWS-aware version is present.)
For CentOS or RedHat, open a terminal and run the following shell commands:
sudo yum update
sudo yum install evolution
sudo yum install evolution-ews
Configuring Evolution-EWS to Connect to Exchange Online
Launch the Evolution application. If this is a new installation, follow the prompts below to configure your account. Otherwise, select the menu items File -> New -> Mail Account, click Next, then follow the prompts.
Enter your name and your primary address, uncheck Look up mail server details… and click Next.
- For Server Type, select Exchange Web Services.
- For Username, specify your email address ending in @ndus.edu (ex. first.last@ndus.edu).
- Change Host URL to https://outlook.office365.com/EWS/Exchange.asmx .
- Click the Fetch URL button, entering your NDUS password when prompted. This will result in the OAB URL field being populated, which is the address from which the client can download a copy of the Offline Address Book.
- Change Authentication to OAuth2 (Office365).
- Make sure that Override Office365 OAuth2 settings is checked and populate the Tenant ID and Application ID fields as follows:
- Application ID: b3c77d81-4b17-43b9-a183-9d41f8db73be
- Tenant ID: ec37a091-b9a6-47e5-98d0-903d4a419203
- Finish the New Mail Account Wizard, and you will then be taken to the University’s login page. Authenticate with your credentials and perform Duo authentication.
Please note that the initial synchronization with your account may take an extended period of time if you have a large mailbox.
Troubleshooting
If there is an error or the window for the NDUS login does not appear, kill the process with the command below, make the necessary edits to the mailbox's properties, then reconnect with the banner at the top of the application.
For Ubuntu, Debian, and their variants
sudo pkill evolution
For CentOS or RedHat
sudo killall evolution