#MSDynGP Microsoft Dynamics GP and SMTP Email Failing

David Meego - Click for blog homepageOver the last month or so many users have been reporting intermittent issues with sending emails failing with SMTP (Simple Mail Transfer Protocol) authentication failures.

The issue occurs when using Microsoft’s Exchange Online (part of the Microsoft 365 suite) as the email service. It is caused by Microsoft’s policies to improve authentication security for the Exchange Online service.

While Microsoft’s plan to drop support for TLS 1.0, Basic Authentication and SMTP Authentication and push everyone to use Multi Factor Authentication (MFA) is a good thing in the long term, it will cause problems for software and devices that do not support the more modern authentication methods and protocols.

In February 2021 Microsoft made the announcements about their plans to turn off Basic Authentication methods in Exchange Online. In September 2021 Microsoft announced:

Today, we are announcing that, effective October 1, 2022, we will begin to permanently disable Basic Auth in all tenants, regardless of usage, with the exception of SMTP Auth.

As at October 2021, Exchange Online dropped support for TLS 1.0 & TLS 1.1 and Basic Auth on the SMTP endpoint smtp.office365.com.  If still you need to use the older TLS versions you can enable legacy TLS mode on your Exchange Online tenant and then use the smtp-legacy.office365.com endpoint instead.

Starting in February 2022, Microsoft are enforcing the disabling of Basic Auth by randomly turning it off for tenants for 12-48 hours! (see article):

IMPORTANT: Beginning early 2022, we will selectively pick tenants and disable Basic Auth for all affected protocols except SMTP AUTH for a period of 12-48 hours.

This means that you might have your system work one day, then fail for a while and then work again, which is not ideal. By October 2022, the protocols will be disabled for all tenants.

As far as Microsoft Dynamics GP is concerned, please ensure your sites are upgraded to the latest versions such as 18.3 and 18.4 as the GP support team are seeing more problems with older GP versions 18.2 or before. This is because the later versions of GP have been updated to support the new authentication protocols.

The following information is from the GP Support team:

We need all customers upgraded to 18.3 or later by October 2022 if they want to continue to use email in Dynamics GP without problems.

In my next article I will explain how to check and change settings on your Exchange Online tenant using PowerShell. This will allow enabling of Legacy TLS protocol or SMTP Authentication.

More information

The following articles from the Dynamics GP Support and Services blog have more details:

The following articles from Microsoft provide more details about the changes:

Hope you find this information helpful.

David

04-Feb-2022: Added Link to article on running PowerShell commands against Exchange Online.
05-Apr-2022: Added link to article from Support team: Dynamics GP and Modern Authentication.

This article was originally posted on https://www.winthropdc.com/blog.

Unknown's avatar

David Musgrave is Managing Director of his own development and consulting business. Based in Perth, Western Australia, Winthrop Development Consultants offers a range of Microsoft Dynamics GP add-on products as well as development, consulting and training services to the ISVs, partners and customers of the Microsoft Dynamics GP community. David is known for his many products including GP Power Tools (previously the Support Debugging Tool), Visual Studio Integration Toolkit (previously Menus for Visual Studio Tools) and the Batch Posting Service Toolkit. He was also the original author of Named Printers, Omni Tools, Omni Price, Advanced Security, Field Level Security, Business Activity Statement (for Australian GST), and SnapShot. He has also made many contributions to the code of Microsoft Dynamics GP. David has presented many popular sessions at customer and partner conferences and delivered training around the world. He is active in the Microsoft Dynamics GP community and has contributed to the partner, community and user group forums as well as his Developing for Dynamics GP and Winthrop Development Consultants blogs. He has been recognized as a Microsoft MVP, a GPUG All Star and a Community Summit Legend. Outside of work David enjoys spending time with his family, cycling, DJing for parties, robotics, technology and gadgets (not necessarily in that order).

0 Comments on “#MSDynGP Microsoft Dynamics GP and SMTP Email Failing

Leave a Reply