We can no longer receive IMAP from Office365 since 13.10.2022.
The app password is correct.
*In the log we only get the message “ERROR – : Can’t use Channel::Driver::Imap:<Net::IMAP::NoResponseError: LOGIN failed.”
IMPORTANT INFORMATION:
We are currently only running Zammad with an internal URL and therefore cannot follow the implementation for Office365 described in the documentation.
I guess you then have to swap off either Zammad or Microsoft 365 if that’s the case.
Did you know that the redirect URL for the app doesn’t have to be reachable by Microsoft but your client?
Oh and HTTPs is mandatory. However, the rest should work.
Microsoft is shutting down Basic Auth for Email - that’s been announced over 2 years ago.
Just wanted to mention that we also run our Zammad on an internal URL - it cannot be accessed from the internet. However we had no problems configuring M365 email as per this documentation. As long as your Zammad can send requests to Azure, the oauth callback URL does not necessarily need to be internet reachable.