# Unable to configure IMAP - Microsoft 365

**URL:** <https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [April 20, 2025, 8:19pm UTC](https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535 "2025-04-20T20:19:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sebastien1/32/13803_2.png) [@sebastien1](https://forum.mautic.org/u/sebastien1)\
**Post date:** [April 20, 2025, 8:19pm UTC](https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535/1 "2025-04-20T20:19:34Z")

</div>

Hello everyone,  
when I configure the IMAP login information and test the connection, I encounter this problem:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/bc63576befe0970f6dc46afc21f8735558656d9f.png)

The credentials are correct, and there are no errors in the logs. I’m using Microsoft 365.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![ricfreire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricfreire/32/14973_2.png) [@ricfreire](https://forum.mautic.org/u/ricfreire)\
**Post date:** [April 21, 2025, 3:16pm UTC](https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535/2 "2025-04-21T15:16:16Z")

</div>

Hello @sebastien1,

Using Microsoft is more harder to set up, and you need to do more extra steps. There are as well another open topic about it, that could be helpfull for you.

> [@Sending with Microsoft 365 email?](https://forum.mautic.org/t/sending-with-microsoft-365-email/30331):
>
> Has anybody ever gotten Mautic to send emails via Microsoft Office 365 email? I have a client with a Mautic instance that is interested in migrating from a dedicated SMTP email server to Microsoft Office 365.

Best regards,  
Ricardo

---

<div class="post-metadata">

**Author:** ![sebastien1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sebastien1/32/13803_2.png) [@sebastien1](https://forum.mautic.org/u/sebastien1)\
**Post date:** [April 21, 2025, 3:36pm UTC](https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535/3 "2025-04-21T15:36:11Z")

</div>

Hello,  
take a good look at my message, I’m not talking about sending emails, but about receiving them, the IMAP configuration, because receiving emails doesn’t work.

Best regards,  
Sebastien

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [April 22, 2025, 10:43am UTC](https://forum.mautic.org/t/unable-to-configure-imap-microsoft-365/35535/4 "2025-04-22T10:43:52Z")

</div>

Hi @sebastien1 - have you tried to use another email client? Even IMAP is not easy anymore with 365 - it needs to be actived first and needs OAuth2/“modern authentication” - I don’t think this is supported for Microsoft in Mautic.
