Email Fetching/Sending(Office365) from AWS Hosted server behind a loadbalancer

Email Fetching/Sending(Office365) from AWS Hosted server behind a loadbalancer

I recently setup an instance of ServiceDesk Plus ( 9.2  Build  9224) on aws/EC2.
 Everything works great except the email interface. I cannot get the program to fetch or send from the attached 365 mailbox. I'm using the default office settings for IMAP and SMTP.

IMAP
Server name: outlook.office365.com
Port: 993

SMTP
Server name: smtp.office365.com
Port: 587

Anyone had similar issues and able to resolve them?

I had this up and running on a local machine, mapped to a gmail account and it seems to work without issue. I unfortunately no longer have the local hardware to try an instance not on AWS.

Thanks

                  New to ADSelfService Plus?