OAuth authentication for Microsoft 365 SMTP server

Hello,

As far as I understood correctly, Microsoft has only allowed OAuth connections for IMAP and SMTP since October 2022 in Micrsosoft 365. The basic authentication only via username and password (also app password) is deactivated. You can apply for an extension, but ultimately this option will be completely deactivated at the beginning of 2023.

Is there an adjustment planned by the developers or is there perhaps an extension? We use Nextcloud for an EU-wide school project. Within the school we use Microsoft 365 for Education, so that our e-mail servers also run on MS 365.

Thanks very much!

abaum

Check-out the following issue ticket:

Thanks for the hint!

Hmm, when I try to connect to my MS hosted exchange account, I just get a “IMAP username or password is wrong”.

No authentication window open for me that would let me authenticate and grant Nextcloud Mail access to my account.

What am I doing wrong?

Same here, if I can this to work it would be a game changer!

Is IMAP-access permitted in the Outlook account? - As far as I now, it might be disabled by defaut.