# \[Resolved\] Authentication/connection issues with a Outlook email

**URL:** <https://community.getmailspring.com/t/resolved-authentication-connection-issues-with-a-outlook-email/5326>\
**Category:** Sync Issues\
**Tags:** accounts\
**Created:** [August 17, 2022, 3:58pm UTC](https://community.getmailspring.com/t/resolved-authentication-connection-issues-with-a-outlook-email/5326 "2022-08-17T15:58:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lst](https://community.getmailspring.com/user_avatar/community.getmailspring.com/lst/32/5775_2.png) [@lst](https://community.getmailspring.com/u/lst)\
**Post date:** [August 17, 2022, 3:58pm UTC](https://community.getmailspring.com/t/resolved-authentication-connection-issues-with-a-outlook-email/5326/1 "2022-08-17T15:58:48Z")

</div>

I have a [hotmail.com](http://hotmail.com) email address ([Outlook.com](http://Outlook.com) account) that I’ve been using with Mailspring for a while. For the past few weeks, the account can’t sync and I keep needing to Reconnect and enter the password again (I’m using an [App Password](https://support.microsoft.com/en-us/account-billing/using-app-passwords-with-apps-that-don-t-support-two-step-verification-5896ed9b-4263-e681-128a-a6f2979a7944)

After I re-enter the password, the email syncs fine and it’s working fine. But after a while, it stops syncing and connecting with the account and the only fix seems to be re-entering a password again.

I tried rebuilding the cache. Tried removing and then adding the account. Nothing helps.

Here’s the log:

```auto
Mailspring Version: 1.10.5-1ce06f18
Platform: win32
Account State: invalid
Account Provider: outlook
IMAP Server: imap-mail.outlook.com
SMTP Server: smtp-mail.outlook.com
--------------------------------------------
12700 [2022-08-17 17:52:45.347] [metadata] [info] Will retry in 3 sec.
12700 [2022-08-17 17:52:45.676] [background] [info] Marking all folders as `busy`
12700 [2022-08-17 17:52:45.678] [background] [info] Syncing folder list...
12700 [2022-08-17 17:52:46.698] [background] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"syncFoldersAndLabels - fetchAllFolders","key":"ErrorAuthentication","retryable":false,"what":"Unknown exception"}
***

12700 [2022-08-17 17:52:46.698] [background] [critical] *** Stack trace (line numbers are approximate):
*** 519 SyncWorker::syncFoldersAndLabels()
*** 180 runBackgroundSyncWorker()
*** 692 ::operator()
*** 210 _Pad::_Call_func()
***

10320 [2022-08-17 17:52:48.044] [main] [info] Identity created at 1569192889 - using ID Schema 1
10320 [2022-08-17 17:52:48.045] [main] [info] ------------- Starting Sync (XXXXXXX@hotmail.com) ---------------
10320 [2022-08-17 17:52:48.049] [metadata] [info] Metadata delta stream starting...
10320 [2022-08-17 17:52:48.591] [metadata] [info] Metadata delta stream closed.
10320 [2022-08-17 17:52:48.707] [metadata] [info] Will retry in 3 sec.
10320 [2022-08-17 17:52:49.056] [background] [info] Marking all folders as `busy`
10320 [2022-08-17 17:52:49.059] [background] [info] Syncing folder list...
10320 [2022-08-17 17:52:50.527] [background] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"syncFoldersAndLabels - fetchAllFolders","key":"ErrorAuthentication","retryable":false,"what":"Unknown exception"}
***

10320 [2022-08-17 17:52:50.527] [background] [critical] *** Stack trace (line numbers are approximate):
*** 519 SyncWorker::syncFoldersAndLabels()
*** 180 runBackgroundSyncWorker()
*** 692 ::operator()
*** 210 _Pad::_Call_func()
***

10396 [2022-08-17 17:52:52.167] [main] [info] Identity created at 1569192889 - using ID Schema 1
10396 [2022-08-17 17:52:52.168] [main] [info] ------------- Starting Sync (XXXXXX@hotmail.com) ---------------
10396 [2022-08-17 17:52:52.180] [metadata] [info] Metadata delta stream starting...
10396 [2022-08-17 17:52:52.809] [metadata] [info] Metadata delta stream closed.
10396 [2022-08-17 17:52:52.941] [metadata] [info] Will retry in 3 sec.
10396 [2022-08-17 17:52:53.182] [background] [info] Marking all folders as `busy`
10396 [2022-08-17 17:52:53.183] [background] [info] Syncing folder list...
10396 [2022-08-17 17:52:54.830] [background] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"syncFoldersAndLabels - fetchAllFolders","key":"ErrorAuthentication","retryable":false,"what":"Unknown exception"}
***

10396 [2022-08-17 17:52:54.830] [background] [critical] *** Stack trace (line numbers are approximate):
*** 519 SyncWorker::syncFoldersAndLabels()
*** 180 runBackgroundSyncWorker()
*** 692 ::operator()
*** 210 _Pad::_Call_func()
***

```

OS and Version: Windows 10 Pro  
Installation Method: Installer  
Mailspring Version: 1.10.5-1ce06f18

---

<div class="post-metadata">

**Author:** ![ben2talk](https://community.getmailspring.com/user_avatar/community.getmailspring.com/ben2talk/32/5851_2.png) [@ben2talk](https://community.getmailspring.com/u/ben2talk)\
**Post date:** [June 11, 2024, 11:54pm UTC](https://community.getmailspring.com/t/resolved-authentication-connection-issues-with-a-outlook-email/5326/2 "2024-06-11T23:54:20Z")

</div>

No replies on this topic - but Mailspring did this three times this week so far with my hotmail.

Create a new app password and reconnect each time.

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [October 11, 2024, 11:08pm UTC](https://community.getmailspring.com/t/resolved-authentication-connection-issues-with-a-outlook-email/5326/3 "2024-10-11T23:08:23Z")

</div>

Hi folks, I believe this should be resolved now - Outlook was dropping support for username + password authentication, and part of their deprecation plan was to basically break username+password login over and over again.

You may need to remove + re-add your Outlook account, but the latest version of Mailspring will prompt you to sign in to Outlook on the web instead of using your password. You can find more information here: [[Resolved] Outlook OAuth2 login needed urgently! Password functionality is ending - #19 by bengotow](https://community.getmailspring.com/t/resolved-outlook-oauth2-login-needed-urgently-password-functionality-is-ending/8415/19)
