SMTP Modern Authentication

Arief Hardiansyah 51 Reputation points
2022-08-01T11:19:54.613+00:00

Hi All,

We have a send connector on our 2016 exchange server that we configured using "Route mail through smart hosts" to smtp.office365.com with basic authentication.
226782-image.png

We get information that Microsoft wants to disable legacy authentication. We would like to ask some things:

  1. Whether these changes can have an impact on basic authentication to smtp.office365.com?
  2. is it possible if we authenticate to smtp 365 using an account that has been activated MFA?
  3. what solution is provided by Microsoft for modern authentication for SMTP Auth?

Really appreciate for your answer.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


2 answers

Sort by: Most helpful
  1. KyleXu-MSFT 26,031 Reputation points
    2022-08-02T02:32:49.367+00:00

    @Arief Hardiansyah

    Do you want to use Exchange online to relay emails for Exchange on-premises to the Internet? If so, you could follow this article: Part 2: Configure mail to flow from your email server to Microsoft 365 or Office 365

    It create a Send Connector without using BasicAuth for "-SmartHostAuthMechanism":

    New-SendConnector -Name "My company to Office 365" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn mail.contoso.com -RequireTLS $true -DNSRoutingEnabled $false -SmartHosts contoso-com.mail.protection.outlook.com -TlsAuthLevel CertificateValidation  
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    Was this answer helpful?


  2. Carlos Solís Salazar 18,301 Reputation points MVP
    2022-08-01T11:34:48.227+00:00

    Hi @Arief Hardiansyah

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    You won't be for to disable legacy authentication, but it is strongly recommended to disable it

    There is a way to Authenticate an IMAP, POP or SMTP connection using OAuth

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
    NOTE: To answer you as quickly as possible, please mention me in your reply.


    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.