jobisoft / EAS-4-TbSync

[Thunderbird Add-On] The Exchange ActiveSync provider for TbSync to sync contacts, tasks and calendars to Thunderbird.
https://github.com/jobisoft/EAS-4-TbSync/wiki/About:-Provider-for-Exchange-ActiveSync
Mozilla Public License 2.0
197 stars 28 forks source link

Cannot connect to Office365 HOME(!) account with two-factor authentication enabled #191

Open RobProg opened 4 years ago

RobProg commented 4 years ago

Trying to connect to an Office 365 HOME/FAMILY(!) account with two-factor authentication enabled fails.

Connecting to an Office 365 BUSINESS/WORK account with two-factor authentication enabled works as expected.

Can connected to Office 365 HOME/FAMILY(!) account via app password, but this is not a desirable solution due to security concerns.

My environment

TbSync version: 2.12 Provider for Exchange ActiveSync: 1.14 Thunderbird version: 68.8.1 OS: Windows 10 Pro Sync Account: Office 365 Home/Family

Expected behavior

When adding account, new Window should open to enter login/authentication credentials via OAuth 2.0.

Actual behavior

Request to add account fails with 'User not found (HTTP Error 404)'

Steps to reproduce

  1. In TBSync, select 'Add new account' -> 'Exchange ActiveSync'

  2. Select third option named "Microsoft Office 365" (for OAuth 2.0 authentication)

  3. Enter account name and an email address that is associate with an Office 365 Family/Home account. [Note - Everything works fine when entering an email address associated with an Office 365 BUSINESS account.]

  4. Hit enter. After just about one second, process terminates with a 'User not found (HTTP Error 404)' message. [When entering the email address of my WORK/BUSINESS Office 365 account, everything works as expected.]

jobisoft commented 4 years ago

I believe this just does not work. Without access to such an account, I cannot do much, however.

jradxl commented 4 years ago

I've just found same... Thunderbird 78, tbsync 2.16 , provider 1.16 Pity!

RaEyE commented 4 years ago

Hi,

just for clarification, did you use your regular password or a specific app pssword. App passwords can be issued per account to applications such as TbSync which do not support two-factor authetification.

Such passwords need to be actively issued and are random generated. To do such for microsoft (Office365/Outlook) accounts, you can follow one of these tutorials.

Hope this helps :)