Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Cannot connect to SMTP server - Email Account

Richo1
Tera Expert

Hello,

I have configured our test instance to use our company SMTP server by creating an email account record. I have configured OAUTH 2.0, which is functioning correctly.

When I conduct a connection test I receive a cannot connect to SMTP server error message. This is connecting to smtp.office365.com on port 587 using SSL/TLS.

If I run the connection test to smtp.office365.com on port 25 with no connection security I receive a successful connection message.

So just wondering if there is something I have missed with regards to SSL/TLS, maybe on our tenant side. 

Thanks.

10 REPLIES 10

Hello @Kevin O_ 
yes it was finally resolved, my configuration was  fine, it was an issue on Exchange Online side, not sure what it was as  I don't manage that system, the MS365 Admins changed something and it worked.
Regards,

Damian