Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article describes how to configure Microsoft 365 (M365) for Linux users (Ubuntu 21.04 or later), in accordance with 2-factor authentication.

Prior versions of Ubuntu are unable to cannot configure Microsoft 365, and are restricted to using Thunderbird with email/IMAP. For instructions on how to configure the Thunderbird mail client: How to setup Microsoft 365 in Thunderbird

For more information about the M365 package, please refer to this article: https://uwaterloo.ca/office-365/

Step-by-step guide

  1. Click on File > New Mail > Mail Account

    Image Modified


  2. Select Identity on the left-hand side.

    1. Full Name: enter your full name (first and last)

    2. Email Address: enter your 8-character UWaterloo username and @uwaterloo.ca (i.e.

...

    1. myuserna@uwaterloo.ca)

      Image Modified

  1. Unselect the Look up mail server details based on entered email address option

    Image Modified


  2. Select the server type as Exchange Web Services
    Note: If the Exchange Web Services option is

...

  1. unavailable,

...

  1. this add-on

...

  1. must be installed onto Evolution. On Ubuntu, this can be done through the Ubuntu Software Store

    Image Modified


  2. Enter your 8-character UWaterloo username and @uwaterloo.ca (i.e.

...

  1. myuserna@uwaterloo.ca)
    a. Change the host URL to https://outlook.

...

  1. office.com/
    b. Change the authentication method to OAuth2 (Office365)
    c. Click the Fetch URL button

    Image Modified


  2. Authenticate with DUO (

...

  1. Two-factor authentication)

    1. Two-factor authentication is known to be completed once the OAB URL is auto-populated with an address. Select Next and modify the default mail account configuration, if needed. 

Warning

If you are using earlier versions of Ubuntu with Evolution, the following error will occur: 8 Data source “username@uwaterloo.ca” does not support OAuth 2.0 authentication. This is because a tenant ID and application ID must be retrieved. To do so, please follow the “Find the tenant ID” and “Create the application” instructions listed on this article: https://wiki.gnome.org/Apps/Evolution/EWS/OAuth2.

...

Filter by label (Content by label)
showLabelsfalse
max4
sortmodified
showSpacefalse
reversetrue
titleRelated Articles
cqllabel in ( "linux" , "ubuntu" )
Info

Need help?

Contact the IST Service Desk online or 519-888-4567 ext. 44357.

Tip

Article feedback

If you’d like to share any feedback about this article, please let us know