Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

Enable SMTP Authentication for a Single Mailbox in Microsoft 365

September 20, 2023
in Blog, Microsoft 365, Powershell
0
ADVERTISEMENT

Table of Contents

Before you begin

If your tenant was created on or after October 22, 2019, security defaults may be enabled in your tenant. To protect all of our users, Security Defaults are being rolled out to all new tenants at creation.

Note Note: You must disable Security Defaults in Azure Active Directory, when it enabled, it’ll disable basic authentication in whole tenant, and it overwrites all other settings. It means enable SMTP Authentication will not work.

SMTP client email submissions

The SMTP AUTH protocol is used for SMTP client email submissions, typically on TCP port 587. SMTP AUTH supports modern authentication (Modern Auth) through OAuth in addition to basic authentication.

Microsoft highly recommend that you disable SMTP AUTH in your Exchange Online organization and enable it only for the accounts (that is, mailboxes) that still require it. There are two settings that can help you do this:

  • An organization-wide setting to disable (or enable) SMTP AUTH.
  • A per-mailbox setting that overrides the tenant-wide setting.

Enable SMTP Authentication on Microsoft 365

There’re two ways to enable or disable SMTP Authentication:

  • Through Micrsoft 365 admin center.
  • Through Exchange Online PowerShell.

Enable SMTP Authentication on Microsoft 365 admin center

1️⃣ Login into Microsoft 365 admin center using a global admin account.

2️⃣ Navigate to User | Active users on the left pane. Then select the account you want to enable SMTP authentication from the list of users.

3️⃣ In the flyed-out menu, click on the Mail tab then select the link Manager email apps.

The SMTP Server Requires a Secure Connection, or the Client was not Authenticated

4️⃣ Select the checkbox Authenticated SMTP to enable SMTP Authentication for this mailbox account.

The SMTP Server Requires a Secure Connection, or the Client was not Authenticated

5️⃣ Wait a few minutes to take the change goes into effect then try to send an email from your apps or printers to verify it works.

The SMTP Server Requires a Secure Connection, or the Client was not Authenticated

As you can see, the error was gone, and your message was sent using a SMTP client.

The SMTP Server Requires a Secure Connection, or the Client was not Authenticated

Enable SMTP Authentication for a single mailbox using PowerShell

The second way, you can use Exchange Online PowerShell to enable or disable SMTP Authentication for mailboxes in your Microsoft 365 tenant.

1️⃣ Connect to Exchange Online using PowerShell using the following command:

Connect-ExchangeOnline

2️⃣ Run the following command to check SMTP Authentication status:

Get-TransportConfig | FL SmtpClientAuthenticationDisabled

SmtpClientAuthenticationDisabled property is True means the SMTP AUTH is already disabled on your tenant.

3️⃣ Microsoft highly recommend that you disable SMTP Authentication in your Exchange Online organization, and enable it only for the accounts that still require it.

Run the below command to enable SMTP Authentication for a single mailbox (Chris’s account).

Set-CASMailbox -Identity [email protected] -SmtpClientAuthenticationDisabled $false

4️⃣ Then execute the following command to get the SMTP Authentication status for the email account.

Get-CASMailbox -Identity [email protected]  | FL SmtpClientAuthenticationDisabled
The SMTP Server Requires a Secure Connection, or the Client was not Authenticated

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Send an Email Using Windows PowerShell

Next Post

How to Remove or Hide the Weather Widget on Windows 11

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory