Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe
Deschis

Repeated "Authentication Failure" trying to connect to outlook.live.com servers using IMAP.

Alex Farlie

Program : Thunderbird Build - 115.18.0 esr .

How to reproduce:

Log into outlook.live.com an ensure IMAP is enabled.

Start Thunderbird and create a new 'mail' account manually, given the account settings provided by outlook.live.com. (https://support.microsoft.com/en-gb/outlook/pop-imap-and-smtp-settings-for-outlook-com)

The account may have to be setup manually.

Also you may have to setup the outgoing SMTP server to use OAuth2 manually as an SMTP server directly, as the normal dialog presented during manual setup did not provide this option unless the servers were set up indvidually.

The e-mail account details should be set up.

What should have happened:

SMTP server should have permitted Ouath2 authentication during setup. Thunderbird should have presented a login to obtain a password, and retrieved messages to a local inbox.

What actually happened: "Authentication failure when connecting to server outlook.office365.com"

Possible causes :

  • Build not actually supporting Oauth2 despite claiming to.
  • Third party server is claiming to support IMAP/Oauth2 but refuses to recognise credentials sent by Thunderbird.
  • Build too old.

Thank you.

Program : Thunderbird Build - 115.18.0 esr . How to reproduce: Log into outlook.live.com an ensure IMAP is enabled. Start Thunderbird and create a new 'mail' account manually, given the account settings provided by outlook.live.com. (https://support.microsoft.com/en-gb/outlook/pop-imap-and-smtp-settings-for-outlook-com) The account may have to be setup manually. Also you may have to setup the outgoing SMTP server to use OAuth2 manually as an SMTP server directly, as the normal dialog presented during manual setup did not provide this option unless the servers were set up indvidually. The e-mail account details should be set up. What should have happened: SMTP server should have permitted Ouath2 authentication during setup. Thunderbird should have presented a login to obtain a password, and retrieved messages to a local inbox. What actually happened: "Authentication failure when connecting to server outlook.office365.com" Possible causes : *Build not actually supporting Oauth2 despite claiming to. * Third party server is claiming to support IMAP/Oauth2 but refuses to recognise credentials sent by Thunderbird. *Build too old. Thank you.

Toate răspunsurile (1)

Using the settings downloaded by Thunderbird. https://autoconfig.thunderbird.net/v1.1/hotmail.com They are correct, and include oauth for SMTP. So if you are modifying them it is probably the issue, if you are using anything earlier that the current ESR branch of Thunderbird then connection failures for Microsoft sites is more than probable. The current release of Thunderbird does not use IMAP or SMTP when connecting to Hotmail/office365 it uses the Microsoft Graph framework

The next the most common cause of account setup failure lives in the antivirus products installed in addition to Windows defender.

  • The download of settings does not complete because the antivirus product blocks Thunderbird accessing the internet (firewall component)
  • The connection does not verify (because antivirus is trying to scan a connection that has no emails. Ooops)
  • The dialog to authenticate does not open in the web browser. Problems with passing links via the operating system Look at the anti phishing tools your antivirus installed.
  • You account approval from the browser does not update into Thunderbird. Multiple common issues here;
  1. The antivirus is blocking the Local-host adapter.
  2. There is another program on the system that is consuming data on that adapter (usually a development environment or web server product, Apache et. al.)
  3. You have cookies disabled in Thunderbird or the web browser. (Enable cookies)

Then you have the "other" issues caused by the tenants in business solutions (not all office365 is the same) choices as to what software can access their exchange and if they are going to support SMTP and IMAP/POP. Some business users are restricted to only use Microsoft Outlook for instance. This is an exceedingly complex area made that way by Microsoft.

Now the expectations of Microsoft as to how you may connect to their services has changed significantly since Thunderbird 115 was released. But there is a support article on that, have you read it? https://support.mozilla.org/en-US/kb/microsoft-oauth-authentication-and-thunderbird-202

Fundamentally I would not expect Thunderbird 115 to connect to Hotmail using oauth at all successfully. There have been many Microsoft specific changes since the 2023 release of version 115.

Adresează o întrebare

Trebuie să intri în cont ca să răspunzi la o postare. Te rugăm să adresezi o întrebare nouă dacă nu ai încă un cont.