ONLYOFFICE Docs v7.3 released: enhanced forms, SmartArt, new security settings, Watch Window, and more
ONLYOFFICE Docs v7.3 released

Connect E-Mail to Microsoft 365 with Modern Authentication

Do you want to: Ask a how-to question
Community Server/Control Panel version: /
Type of installation of Workspace (docker, deb/rpm, exe): docker
OS: Ubuntu 20.04
Browser version: Edge 110

I’ve installed the ONLYOFFICE Workspace Community Edition in our company and wanted to also connect the E-Mails of the users.
But as I realized it is only possible to select IMAP / POP as a connection.
Our emails are stored at MS365 and they disabled basic authentication completly.
I also tried to use an app password, but this doesn’t work either.

How can I connect my ONLYOFFICE instance with the Exchange Online from Microsoft 365?

I’m happy for every answer.

Best regards,

Hello @Man-in-Black
We know about this situation. MS team disabled Basic authentication last year, you can check out details here: Can't connect to Outlook with POP/IMAP and Modern authentication - Exchange | Microsoft Learn
We created a bug in internal tracksystem (internal number - 48931), but I’m not sure that we can do anything on our side. I believe you have to contact MS team to discuss the situation.

Sorry for inconvenience.

Thank you for the response.

I already contacted MS and they said that I need to change the login process to modern authentication. There is no other way. They also said that they announced the change back in 2020 so that every developer had enough time to change the process.
There are ways to do this with a command-line tool called Oauth2-Proxy, but its rather complicated to set up.

So I will appreciate if that feature will find its way into ONLYOFFICE soon.