Note
Prior versions of Ubuntu are unable to configure Microsoft 365, formerly known as Office 365, and are restricted to using Thunderbird with email/IMAP.
For instructions on how to configure the Thunderbird mail client: How to setup Office Microsoft 365 in Thunderbird
The instructions in this guide allow Linux users (Ubuntu 21.04 or later) to configure Microsoft 365 (M365), in accordance with 2-factor authentication. The Microsoft 365 package includes apps such as PowerPoint, Excel, Word, Outlook and more.
...