Skip to main content

msdyn365bc - SMTP with Multi-factor Authentication.

Hi Readers,

I am sure you have either heard or using Multi-factor authentication.

The Reason companies use MFA because - 
Your passwords can be easily compromised. MFA immediately increases your account security by requiring multiple forms of verification to prove your identity when signing into an application.

With Great powers there are new issues or I should say new configuration need to done with dependent software's.


In this article we will fix related to SMTP Setup changes that need to be introduced due to Multi-factor authentication.

Error message in SMTP after Multi Factor Authentication -

Business Central -


The mail system returned the following error: "A call to MailKit.Net.Smtp.SmtpClient.Authenticate failed with this message: 5.7.3 Authentication unsuccessful [PN1PR01CA0096.INDPRD01.PROD.OUTLOOK.COM]".

Dynamics NAV - 


The mail system returned the following error: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [BM1PR0101CA0052.INDPRD01.PROD.OUTLOOK.COM]".

Steps for New Setup.

1. Open Office 365 Security Info using link - https://mysignins.microsoft.com/security-info.

2. Click on Add Method and Choose App Password.



3. Provide a App Name.




4. Copy and Save the App Password. This cannot be accessed again.



5. Use App Password in SMTP Mail Setup window and Send Test Email.



Hope this article helps you to setup your SMTP in Business Central / Dynamics NAV with Multi Factor authentication.

Regards,
Saurav Dhyani

www.sauravdhyani.com

Comments

Popular posts from this blog

Welcome - Microsoft Dynamics 365!

Hi All, In this article we will discuss the new introduced member of Dynamics Family. Yes you heard it correctly, one more new member with Name "Microsoft Dynamics 365" . #ProjectMadeira   #Dynamics365

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.