搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

OAuth2 outlook.com

  • 2 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 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?
附加的畫面擷圖

由 Mr. Plum 於 修改

所有回覆 (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.