MS.TONMOYSAHA

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

How to Check SMTP AUTH is Enabled

 সেপ্টেম্বর ০১, ২০২২     No comments   

 

How to Check SMTP AUTH is Enabled or Disabled in Microsoft 365

Disable or Enable SMTP AUTH in your organization

Note: You can only disable (or enable) SMTP AUTH globally for your organization by using Exchange Online PowerShell.

1. Connect to Exchange Online PowerShell or you can open Windows PowerShell (Admin) then run below commands:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name ExchangeOnlineManagement;
Import-Module ExchangeOnlineManagement;
Connect-ExchangeOnline;

2. Run the following command to check SMTP AUTH status:

Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled

SmtpClientAuthenticationDisabled property is True means the SMTP AUTH is already disabled

PS C:\> Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled

SmtpClientAuthenticationDisabled : True

3. Run the following command to enable SMTP AUTH:

Set-TransportConfig -SmtpClientAuthenticationDisabled $false

Note: To disable SMTP AUTH if it’s already enabled, use the value $true.

 

Enable SMTP AUTH for specific mailboxes

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.

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 others settings. It means enable SMTP AUTH for specific mailboxes will not work.

Set-CASMailbox -Identity maria@leoguides.me -SmtpClientAuthenticationDisabled $false

To verify that you’ve enabled or disabled SMTP AUTH for a specific mailbox, you can check it through Microsoft admin center or using PowerShell.

Individual mailboxes in the Microsoft 365 admin center: Go to Users > Active users > select the user > click Mail > click Manage email apps and verify the value of Authenticated SMTP (checked = enabled, unchecked = disabled).

Bg1170

Or you can using the following command with SmtpClientAuthenticationDisabled property (False = enabled, True = disabled, blank = use organization setting).

PS C:\> Get-CASMailbox -Identity maria@leoguides.me  | Format-List SmtpClientAuthenticationDisabled

SmtpClientAuthenticationDisabled : False

All mailboxes where SMTP AUTH is enabled: Run the following command:

$Users = Get-CASMailbox -ResultSize unlimited
$Users | where {$_.SmtpClientAuthenticationDisabled -eq $false} | Select-Object DisplayName,PrimarySmtpAddress
PS C:\> $Users | where {$_.SmtpClientAuthenticationDisabled -eq $false} | Select-Object DisplayName,PrimarySmtpAddress

DisplayName PrimarySmtpAddress
----------- ------------------
Chris       chris@leoguides.me
Maria       maria@leoguides.me

All mailboxes where SMTP AUTH is controlled by the organization setting: Run the following command:

$Users = Get-CASMailbox -ResultSize unlimited
$Users | where {$_.SmtpClientAuthenticationDisabled -eq $null} | Select-Object DisplayName,PrimarySmtpAddress
PS C:\> $Users = Get-CASMailbox -ResultSize unlimited
PS C:\> $Users | where {$_.SmtpClientAuthenticationDisabled -eq $null} | Select-Object DisplayName,PrimarySmtpAddress

DisplayName              PrimarySmtpAddress
-----------              ------------------
Bon Ben                  admin@bbguides.onmicrosoft.com
Anna                     anna@leoguides.me
Tom                      tom@leoguides.me
Tonny                    tonny@leoguides.me
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
এটি ইমেল করুনএটি ব্লগ করুন!X-এ শেয়ার করুনFacebook-এ শেয়ার করুন

Related Posts:

  • Chrome addons image … Read More
  • convert an entire MySQL database characterset emojiALTER DATABASE databasename CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ALTER TABLE tablename CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_u… Read More
  • Email Automation & SEO Soluation TrickMailer.comLet's Automate your email section and grow your business fast!Email Marketing is so powerful to grow your company You can also pu… Read More
  • How to Check SMTP AUTH is Enabled How to Check SMTP AUTH is Enabled or Disabled in Microsoft 365Disable or Enable SMTP AUTH in your organizationNote: You can only disable (o… Read More
  • How to activate office 2021 usign cmd Activating Office 2021 is the key update that enables you to use all the features of this leading performance suite.Open CMD As Admin Mode: … Read More
নবীনতর পোস্ট পুরাতন পোস্ট হোম

0 comments:

একটি মন্তব্য পোস্ট করুন

ads

Popular Posts

  • মোটরসাইকেল থেকে ছিটকে সড়কের পাশে পড়ে ছিলেন মৃত তিনজন
      নাটোরের লালপুরে সড়কের পাশ থেকে আজ রোববার তিনটি মৃতদেহ উদ্ধার করা হয়েছে। পাশে একটি মোটরসাইকেল পড়ে ছিল। পুলিশ বলছে, মোটরসাইকেল দুর্ঘটনায় তিন...
  • Haluaghat By Tonmoy Saha Mridul
    Haluaghat By Tonmoy Saha Mridul Hey I am Tonmoy Saha Mridul.I am from Haluaghat.Today I am share some information about Haluaghat. ...
  • Haluaghat Upcoming Boy.. Tonmoy Saha Mridul
    Haluaghat Upcoming Boy Tonmoy Saha Mridul Hey I am Tonmoy saha Mridul.I am from Haluaght, Mymensingh. I hope I am Upcoming boy ...

Blog Archive

  • জুলাই 2023 (1)
  • অক্টোবর 2022 (1)
  • সেপ্টেম্বর 2022 (1)
  • জানুয়ারী 2022 (1)
  • এপ্রিল 2021 (1)
  • ডিসেম্বর 2020 (1)
  • আগস্ট 2019 (1)
  • ফেব্রুয়ারী 2019 (2)
  • জুলাই 2018 (1)
  • মে 2018 (4)
  • এপ্রিল 2018 (1)
  • নভেম্বর 2017 (1)
  • মে 2017 (2)
  • মার্চ 2017 (1)

Copyright © 2025 MS.TONMOYSAHA | Powered by Bloger
Design by Tonmoy Saha Mridul | Blogger Theme by MsTonmoy.Blogspot.Com | Distributed By Ms.Tonmoy Template