Microsoft OAuth Authentication and Thunderbird in 2026

Thunderbird Thunderbird Last updated: 6 days ago 50% of users voted this helpful
No one has helped translate this article yet. If you already know how localizing for SUMO works, start translating now. If you want to learn how to translate articles for SUMO, please start here.

Microsoft OAuth authentication and Thunderbird in 2026

NOTES:
  • For simplicity, we will use the term OAuth instead of OAuth 2 or OAuth 2.0. Thunderbird’s current implementation of OAuth is based on OAuth 2.0, the most common version of OAuth.
  • Prior to Thunderbird 153, the Microsoft OAuth dialogues are presented in a tab inside Thunderbird. Versions 153 and higher display the Microsoft OAuth dialogues externally in your system’s default web browser (Firefox, Chrome, etc.) instead.

Microsoft has made some changes to authentication for their hosted email services for business and academic accounts. This article describes these changes and how to adjust to them.

As of June 2026, this information is still evolving and subject to change - please update Thunderbird to the latest release in order to have the best experience with Microsoft’s email services. Due to Microsoft’s ever-changing diversity of email servers and deployments, issues can emerge without warning that cause Thunderbird and other non-Microsoft email clients to suddenly stop working.

Changes to authentication

Microsoft has instituted the following changes:

  • Deprecated basic authentication (username/password), now requiring OAuth authentication.
  • In some cases, SMTP authentication has been completely disabled. For new accounts, SMTP always starts disabled. In addition, there are some restrictions on SMTP that are not currently understood.

Microsoft has also changed the way they classify certain clients, so Thunderbird’s previous OAuth setup does not properly qualify it as a desktop client. As a result, we have been forced to make configuration changes to Thunderbird, which may have side effects for users.

Changes or problems you may encounter

For outlook.com, hotmail.com, Microsoft 365 (formerly known as Office 365 and often abbreviated as O365), or other Microsoft-hosted email services, you may see the following issues:

Your Outlook or Hotmail password no longer works with Thunderbird and you cannot send or receive email

  • Thunderbird might display an error message similar to: Login to server outlook.office365.com with username youremail@hotmail.com failed.
  • Solution
    • Ensure two-step verification is turned on for your Microsoft account (see Microsoft’s support article: How to use two-step verification with your Microsoft account).
    • Enable cookies for Microsoft’s Outlook or Hotmail websites in Thunderbird, otherwise you will not be able to log in to your Outlook or Hotmail account using OAuth2 authentication:
      1. Click Thunderbird app menu > Settings > Privacy & Security.
      2. Under the Web Content section, tick Accept cookies from sites.
      3. Click Exceptions… next to Accept cookies from sites to make sure you are not blocking cookies from Microsoft sites, such as outlook.com, hotmail.com or office365.com.
    • Change Thunderbird’s authentication method for incoming mail (IMAP or POP):
      1. Click Thunderbird app menu > Account Settings.
      2. On the left side, click Server Settings} for your outlook.com or hotmail.com account.
      3. Select Authentication method: OAuth2 (instead of Normal password).
        tb153-select-oauth2
  • Change Thunderbird’s authentication method for sending messages (SMTP):
    1. Click Thunderbird app menu > Account Settings and click on your Microsoft email account on the left side. For example: tbtesttb@hotmail.com
    2. At the bottom right, click Edit outgoing server…:
      tb153-microsoft-email-tbtesttb-edit-outgoing-server
    3. Select Authentication method: OAuth2 (instead of Normal password). The Server Name might need to be changed to smtp-mail.outlook.com :
      tbg153-microsoft-email-smtp-server
    4. Click OK to save your changes.

A screen that indicates IT administrator approval is required for the app

  • You must ask your administrator to authorize Thunderbird – approval must be done, but only once.
  • Per Microsoft documentation, administrators should visit https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id=9e5f94bc-e8a4-4e73-b8be-63364c29d753 and grant the following permissions in order to authorize Mozilla Thunderbird: IMAP.AccessAsUser.All, POP.AccessAsUser.All, SMTP.Send and offline_access.

An account worked on Thunderbird 102.6.1, but does not work on 102.7.1 or later

  • Try to sign in with a new Thunderbird profile (see Profile Manager - Create and remove Thunderbird profiles for instructions on how to create a new profile).
  • If a new Thunderbird profile works, we recommend continuing using the new profile.For experienced users who want to keep other changes made in the config editor: Open the Thunderbird profile manager to switch back to the old Thunderbird profile and use the Config Editor to filter for oauth2, find the appropriate server(s), and delete the entries for oauth2.issuer and auth2.scope.
  • If that doesn’t work, please ask for support.

IMAP/POP3 works, but SMTP does not work

Calendar does not work

  • Thunderbird does not support Exchange calendars. If you are using an add-on or other software to enable calendar, then you will need to seek support from the author of that add-on or software.

Where to get help

  • If you are a user within a business or academic institution that provides Microsoft accounts, you should seek assistance from within your organization.
  • If you have a personal account through one of Microsoft’s hosted services, Please follow our OAuth Troubleshooting Checklist before asking a support question on our forums.

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More