SmartConnect Setup for Office 365 E-Mail with TLS

Recently we have encountered multiple customers who have TLS turned on for communication with their Office 365 Email system instead of SSL. This in turn prevents their SmartConnect system from sending emails on map tasks.

Just in case you are not aware of the ability to send emails within SmartConnect, click here for a refresher on setting one up.

Standard SmartConnect Setup

When setting up Office 365 email within SmartConnect, we would enter the standard email server and port plus the SSL option. Then enter a valid email address and password.

Go to Setup->Setup->E-Mail Settings

This linked article has more explanation about setting up the email and an email task.

Using TLS

When setting up Office 365 E-Mail for TLS, an error will be received in SmartConnect unless we change the settings. Per the Microsoft Documentation there are a couple of options that can be used. Option 1 in the document is really the standard setup for connecting to the Office 365 email server, as previously noted.

To make SmartConnect work with the TLS configuration, we need to use the Direct Send option, which is option 2 in the Microsoft documentation.

The main drawback of this option is the emails cannot be sent to a user outside of the organization from SmartConnect. This does not affect your standard email client system, only SmartConnect itself. There is no workaround for this other than to remove the TLS requirement.

There are three values that need to be changed within the SmartConnect E-Mail Setup:
  1. The SMTP Server value will be the MX Record from the Microsoft 365 Admin center. i.e.
    1. The MX record will have a Points to address or value that looks like
  2. Uncheck the Use SSL Option.
  3. Change the port to 25.

The Email Settings window will now be like the following.

If you have anymore questions, you can email us at


Failed to create record.: Entity does not support insert
Too Many Fields Defined After Microsoft Update
The operating system is not presently configured to run this application
SmartConnect Service Stops and ServerName==0 Shows in Event Log
No 'Access-Control-Allow-Origin' header is present on the requested resource.


SSL Security error using OLEDB Connection
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site
Shortcuts Template for Extender



open all | close all


Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SmartConnect SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Support Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.