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:

  • ms.tonmoysaha The Photo Gallery Of-"Ms.TonmoySaha-1" ms.tonmoysaha ms.tonmoysaha ms.tonmoysaha … Read More
  • 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… Read More
  • Padma River At Rajshahi-Tonmoy Saha Mridul Padma River At Rajshahi-Tonmoy Saha Mridul A Beautiful Nature ON Padma River At Rajshahi-Tonmoy Saha Mridul … Read More
  • All school and collage Result All school and collage Result  Click Here Result Without Reg … Read More
  • Spend Some Memorable Time At Sarda Police Academy Rajshahi Spend Some Memorable Time At Sarda Police Academy Rajshahi Sarda Police Academy Flying Bridge Sarda Police Academy  … 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