In case anyone else comes across this, the recommendation from the Thunderbird developers is to downgrade: https://blog.thunderbird.net/2023/01/important-message-for-microsoft- office-365-enterprise-users/
e.g. sudo apt-get install thunderbird=1:102.4.2+build2-0ubuntu0.22.04.1 With 1:102.7.1+build1-0ubuntu0.22.04.1~mt1 I had different line numbers in the error: JavaScript error: resource:///modules/OAuth2.jsm, line 170: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003406 Title: imap and smtp to outlook.office365.com over oauth2 problem Status in thunderbird package in Ubuntu: Confirmed Bug description: Good morning, Since yesterday january 18 2023 Thunderbird cannot connect to my company email anymore, both imap and smtp. Mail server for imap is outlook.office365.com, port 993, SSL/TLS, OAuth2. For smtp: smtp.office365.com port 587, STARTTLS, OAuth2. On january 17 and before, all was working well with the same settings. Thunderbird version is 102.7.0 (64-bit) on an up-to-date Ubuntu 22.10. When I start TB from a terminal, I get this: ``` [ImapModuleLoader] Using nsImapService.cpp [NntpModuleLoader] Using NntpService.jsm [Pop3ModuleLoader] Using Pop3Service.jsm ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. [calBackendLoader] Using Thunderbird's ical.js backend console.debug: "Successfully loaded OpenPGP library librnp.so version 0.16.2+git20220922.298ad98b.MZLA from /usr/lib/thunderbird/librnp.so" console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)" console.debug: "Successfully loaded optional OpenPGP library libgpgme.so.11 from system's standard library locations" console.debug: "gpgme version: 1.17.1" console.warn: services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. console.debug: "Trying to load /usr/lib/thunderbird/libotr.so" console.debug: "Trying to load libotr.so from system's standard library locations" console.debug: "Trying to load libotr.so.5 from system's standard library locations" console.debug: "Trying to load libotr.so from system's standard library locations" console.log: (new Error("Cannot load required OTR library", "resource:///modules/OTRLib.jsm", 109)) JavaScript error: resource:///modules/OAuth2.jsm, line 168: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] JavaScript error: resource:///modules/OAuth2.jsm, line 168: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] JavaScript error: resource:///modules/OAuth2.jsm, line 168: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] ``` That last bit (to me) seems to indicate a client side (TB) issue. If anybody knows or can make a fix, that would be great, I much prefer TB to the MS web interface. Best, Joolz. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2003406/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp