Pages

22 November 2022

675. Surviving a migration to Outlook 365 in a Linux-hostile environment

 At work we were just migrated to o365 ('M365' as they call it), and :

* they've disabled forwarding (so can't automatically forward my mail to e.g. a gmail account)

* they've disabled access for all email clients other than Outlook


This happened half a year ago to the students at my university, and here's the solution one of them sent me:

1. Get evolution-ews

 -- on thunderbird you have the non-free (as in beer) options of OWL for exchange and ExQuilla

-- DAVmail may also be a solution, but I haven't managed to get it to work. It will act as a layer between your mail client (e.g. thunderbird) and the EWS server, allowing you to continue using e.g. thunderbird without having to install anything.

2. Create a 'New Mail Account':

Identity: do whatever is appropriate for you organisation. Disable 'Look up mail server ...'



Receiving Email: Add the appropriate username for connecting to the mail server.

Host URL: use https://outlook.office365.com/EWS/Exchange.asmx -- it's the same for all organisations these days.

Authentication type: OAUTH2 (Office 365)

Check 'Override Office365 OAuth2 settings'

Tenant: leave empty

Application ID: d3590ed6-52b3-4102-aeff-aad2292ab01c

Redirect URI: urn:ietf:wg:oauth:2.0:oob


Then click on Fetch URL. This should populate the OAB URL field.


You should now be done.