abaum
November 20, 2022, 11:24am
1
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
j-ed
November 21, 2022, 10:56am
2
Check-out the following issue ticket:
opened 04:30AM - 31 May 22 UTC
bug
1. to develop
feature:integration
nextcloud-gmbh
### Is your feature request related to a problem? Please describe.
As announced… here:
[https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-september-2021-update/ba-p/2772210](url)
&
[https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-may-2022/ba-p/3301866](url)
Microsoft are going to turn Basic Auth for IMAP & POP from October 1 2022. No exceptions.
I've been searching for a way around this but there doesn't seem to currently be one apart from stopping using the Mail app.
### Describe the solution you'd like
Is there another way in the for connecting to 365 (Exchange Online) accounts? The documents above link to this article:
[https://docs.microsoft.com/en-gb/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth](url)
This is something that could be/is planned to be implemented? Or is the approach not suitable for Nextcloud (due to the mail app fetching via IMAP done on the server side). Is there another way it could be done?
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
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?
hax
March 1, 2024, 5:37pm
5
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.