IMAP not working with hotmail/outlook emails

Support
  • I am unable to use the mail module with any microsoft emails.

    I already have the refresh token and client ID and I already use them to obtain the access token. But when I configure receiving mail and try to obtain anything I just get this error.

    _InMail.imap.searchLast: LOGIN_DENIED - Login denied

    a9be7e87-6c49-4e92-b98d-dbc013baf18e-image.png
    856863a0-868a-4022-aaec-41db28f45c17-image.png

    Nothing works, and I am starting to wonder if it is just microsoft's end that is causing issues. I was able to use IMAP prefectly fine about 6 months ago with this same proccess so I dont know why it is not working for me now.

    If anyone has a solution or answer that would be appriciated.