When Track-It! is configured with IMAP to monitor an Office 365 mailbox, the Track-It! Mail Monitor will stop working after a day. Even after restarting the service, it will keep stopping. IMAP.LOG shows this error 8020 |2020-12-11 02:13:30.6887 | | ERROR | MGCImap | MGC.Mail.IMAP.Connect | Generic Exception: Error connecting to server. outlook.office365.com NAMSYSLOG table error: 2147221504 4 (5008) [MAGICPROCESSMAILS] - CBRLMails::StartIncoming - COM EXCEPTION. HRESULT = 80131500, DESCRIPTION = 'Error connecting to server. outlook.office365.com Error performing Handshake. Conn A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond '. |
Workaround: On October 13th, 2020 MS will stop supporting and retire Basic Authentication for Exchange Active Sync (EAS), Post Office Protocol (POP), Internet Message Access Protocol (IMAP), and Remote PowerShell (RPS) in Exchange Online. This means that new or existing applications using one or more of these API’s/protocols will not be able to use Basic Authentication when connecting to Office 365 mailboxes or endpoints and will need to update how they authenticate. See End of support for Basic Authentication access to Exchange Online API’s for Office 365 customers - Microsoft 365 Developer Blog Starting with Track-It! 2020 Release 3, EWS (Exchange Web Service) is the required method for incoming email processing when using Office 365 mailboxes with Track-It!. This change is due to Microsoft now recommending the use of what they call "Modern Authentication" which is based on the use of OAuth 2.0 tokens and the Active Directory Authentication Library. EWS falls under this definition and is in alignment with Microsoft's recommendations for email security with Office 365 mailboxes.
We recommend that you use EWS (Exchange Web Service) with Oauth 2.0 Email type in the Incoming E-mail Configurations when trying to configure office 365 mailboxes with Track-It!. Follow the article How to Register Track-It! with Azure Active Directory to support OAuth2.0 to setup EWS with Oauth 2.0 email type in Track-It! |