Microsoft 365 dropped support for IMAP - Outlook Integration OAUTH

Discussion in 'General' started by exceptionso, May 5, 2025 at 1:54 AM.

  1. exceptionso

    exceptionso Active Member

    Hello EspoCRM'ers.

    since two days our EspoCRM refused to get emails from an office365 Account which was configured with IMAP.

    As part of the error solving I found out that microsoft dropped the support for IMAP fromt this october on.
    Source: https://techcommunity.microsoft.com/...r/ba-p/3609437

    Now we can't receive emails on espoCRM with IMAP so we need to use OAUTH to get the emails.
    Source: https://techcommunity.microsoft.com/...d/ba-p/3562963

    Luckily EspoCRM provides an Outlook Integration Extensions where it says in the documentation:

    "Oauth authentication is available in Outlook Integration extension. It provides a secure authentication for Office 365 accounts. With this extension, you won’t need to store your Outlook password in EspoCRM.".

    That means without this extension and the ability to use oauth (thats the only thing we need) we can't use EspoCRM anymore with Office 365.

    Currently there is a way to change the settings in your 365 Account, so you can reenable usage of basic authentication of IMAP. But it's only available until 1'th of January 2023.
    [​IMG]
    Basic Authentication Deprecation in Exchange Online – September 2022 Update | Microsoft Community Hub
    https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437#toc-hId-54621073

    Starting on October 1st, 2022 we’re going to start to turn off basic authentication for specific protocols in Exchange Online for customers that still use it.

    I haven't tested it, but hopefully it should work.

    Is anyone here already using the Outlook Integration and uses OAUTH with Microsoft 365? Would it solve our problem?

    With kind regards
     
  2. LoganMcdaniel

    LoganMcdaniel Active Member

    Hi, if I remember, you can create app password in your account office365

    Office 365 App passwords | Blog | Limilabs
     
  3. Viwestyna

    Viwestyna Active Member

    I ran into the same problem last week and found that switching to Microsoft Graph authentication worked better than trying to fix IMAP. While looking for ideas, I stumbled on something useful in MyExcelOnline’s blog that helped me get a better grip on using OAuth2 with Graph. It gave me a clear picture of how the token flow works, which helped a lot.
     
Loading...
Similar Threads Forum Date
HELP! Kids dropped afternoon nap and I'm going crazy! The Toddler Years(1-3) Oct 4, 2011
I think one of the babies has dropped... Pregnancy Help Sep 6, 2010
Dropped a feeding - nervous about nutrition! The First Year Aug 23, 2010
Baby A has dropped Pregnancy Help Jul 12, 2010
Straw-based sippy cups that don't break open when dropped The Toddler Years(1-3) Mar 27, 2010

Share This Page