Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

2 factor authentication to access O365 email

  • 3 replies
  • 2 have this problem
  • 15 views
  • Last reply by atErik

more options

My institution will require Duo 2-step authentication to access to its O365 Exchange email system. They want to force everyone to use desktop client Outlook, but I have used Thunderbird (with Exquilla add-on) flawlessly for years. My institution does not allow use of App Passwords. I have seen conflicting entries about how to enable TB to work well with an O365 system using Duo 2FA. I don't even know if there is a problem with TB accessing the exchange email site outlook.office365.com/EWS/Exchange.asmx if I have an active 2-step authenticated session open in a browser. I have seen conflicting statements about TB 68 vs TB 78 regarding 2FA, and the use of OAuth2 authentication, which is an option even on TB 60. Obviously I can try out various things, but the risk is losing all email access in the process without being able to easily recover (once 2FA is activated, I cannot turn it off).

In view of how many places now require 2FA and how many people use TB, I would like some clarity on how to make them work together. I hope that someone with actual knowledge/experience with this can help (I cannot imagine I am the first to want to make this work). If this belongs in a different board, let me know. Thanks.

My institution will require Duo 2-step authentication to access to its O365 Exchange email system. They want to force everyone to use desktop client Outlook, but I have used Thunderbird (with Exquilla add-on) flawlessly for years. My institution does not allow use of App Passwords. I have seen conflicting entries about how to enable TB to work well with an O365 system using Duo 2FA. I don't even know if there is a problem with TB accessing the exchange email site outlook.office365.com/EWS/Exchange.asmx if I have an active 2-step authenticated session open in a browser. I have seen conflicting statements about TB 68 vs TB 78 regarding 2FA, and the use of OAuth2 authentication, which is an option even on TB 60. Obviously I can try out various things, but the risk is losing all email access in the process without being able to easily recover (once 2FA is activated, I cannot turn it off). In view of how many places now require 2FA and how many people use TB, I would like some clarity on how to make them work together. I hope that someone with actual knowledge/experience with this can help (I cannot imagine I am the first to want to make this work). If this belongs in a different board, let me know. Thanks.

All Replies (3)

more options

Starting with Thunderbird 77.0b (beta), Microsoft (Office) 365 OAuth2 (Modern Authentication) is supported for IMAP and POP. This means enabling 2fa is not a cause for concern. The Exchange Web Services (EWS) protocol is not natively supported by Thunderbird, hence the need to use the Exquilla add-on as a provider for EWS connectivity between your MS 365 account and Thunderbird. I'm assuming IMAP and POP access were disabled for your account by your domain admin. Your best bet is to engage the author of Exquilla and find out if the current version of the add-on works with 2fa via the EWS protocol.

more options

Thank you! - this is really helpful. You are insightfully correct that IMAP and POP are not allowed. In the current account settings for my O365/TB/Exquilla account, it does offer an authentication method "Office 365 Multi-Factor Authentication". However, this may refer only to the 2FA system within O365 itself. In the later version history of Exquilla it says, as an added feature: "Authentication: Detect third party MFA", which I presume would be the case for Duo 2FA. (https://addons.thunderbird.net/en-US/thunderbird/addon/exquilla-exchange-web-services/versions/). I have contacted Exquilla for confirmation about this. Will post the results. Thanks again.

more options

Microsoft Hotmail/Outlook,etc related settings for TB . O365. • https://stackoverflow.com/a/63255601/3553808 : Access WebMail Type Of Email-WebSites From TB-WebBrowser-Tab , or , Configure TB to allow very specific OAuth2 based website-addresses in TB's Cookie-Exception list, etc, etc. (please upvote my Q+A both, inside the linked page, if its useful/helpful).

TB = Thunderbird.