In preparation for Office365 disabling basic authentication I finally worked on getting my cron email account moved over to using EWS. I followed the steps exactly and actually got it working. I migrated all my jobs over to the new method and then about an hour later I started getting emails that my email triggers were deactivated. In the end every single job that used an email trigger that had been moved over to EWS was deactivated. I can go back in and reactive them and they will work again for about an hour, but then again will deactivate. I'm not sure what's going on and need help. Oddly the emailing sending still works perfectly, but the email triggers that check the Inbox (and I tried the "default") folder all fail. This is the error that is being sent to me:
Trigger 'Email Trigger. Monitoring folder ''default'' subject contains 'FedEx Shipment'. ' was inactivated in Job 'FedEx Email' by error 'ReceiveMail->Error in Mail Trigger (3), ex: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at EAGetMail.MailClient.?(MailServer ?, Byte[] ?, ? ?, MailInfo ?, HeaderCollection ?, String ?)
at EAGetMail.MailClient.?(MailServer ?, String ?, String ?, ? ?)
at EAGetMail.MailClient.Connect(MailServer server)
at ConnectionVal.DeleteManager(Object , MailServer , ConnectionVal )
at VisualCronService.EventMailClass.ReceiveMail() in C:\git\code\VisualCronService\Triggers\Events\Mail\clsEventMail.vb:line 1575, oClient null = False'
Ideas? I need this fixed ASAP obviously since this is now the only way to read Office365 emails.