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

OAuth2 outlook.com

  • 2 replies
  • 4 have this problem
  • 1 view
  • Last reply by Mr. Plum

more options

Microsoft now supports OAuth2 for personal outlook.com accounts. But I get an authentication error in Thunderbird after entering my email on the MSFT OAuth form: "You can't sign in here with a personal account. Use your work or school account instead."

I get the same error when using the OAuth link a browser. It only works if I change the tenant from "common" to my personal Tenant ID. https://login.microsoftonline.com/common/oauth2/v2.0/authorize?...

Thunderbird 102 on Linux Manjaro. This problem was asked before, but was archived: https://support.mozilla.org/en-US/questions/1307421.

Any solutions?

Microsoft now supports OAuth2 for personal outlook.com accounts. But I get an authentication error in Thunderbird after entering my email on the MSFT OAuth form: "You can't sign in here with a personal account. Use your work or school account instead." I get the same error when using the OAuth link a browser. It only works if I change the tenant from "common" to my personal Tenant ID. https://login.microsoftonline.com/common/oauth2/v2.0/authorize?... Thunderbird 102 on Linux Manjaro. This problem was asked before, but was archived: https://support.mozilla.org/en-US/questions/1307421. Any solutions?
Attached screenshots

Modified by Mr. Plum

All Replies (2)

more options

sounds like a problem with Microsoft's implementation to me. You talk about tenant ids... where do you get one of those that I can try it?

Note neither of the links you posted actually go anywhere useful I got a link to a new article, anda link to sign in at microsoft that was missing everything needed apparently

more options

Update on what I've learned through research and experimentation...

It's not possible.

The current Thunderbird OAuth implementation must connect to an Azure-managed environment and funnel everything through the Thunderbird Enterprise Application in that tenant. Authorization is done via https://login.microsoftonline.com/common/oauth2...

Free Microsoft accounts are not managed via Azure. Maybe behind the scenes they are, but Microsoft handles everything internally. You can use OAuth to sign in at https://login.live.com, but you have no ability to grant Thunderbird access to your email.

You can set up a free Azure account that's linked to a free Microsoft account. For example, account hello.world@outlook.com would have Azure domain is helloworldoutlook.onmicrosoft.com. I've been able to get Thunderbird to authenticate, but the Azure tenant has no mail functionality.... so it's useless.

Clients like Bluemail connect to free Microsoft accounts via OAuth at https://login.live.com. Once authenticated and you accept the permission request, you can see the permissions in your Microsoft account at https://account.live.com/consent/Manage. Until Thunderbird implements something like that, I don't believe it can connect to outlook.com accounts.