(Instructions for Windows - check on Internet for updated and complete instructions)
INSTALL Exchange online management tools
Code: Select all
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
CONNECT AND AUTHENTICATE to Exchange online management module
Connect-ExchangeOnline -UserPrincipalName <UPN> [-UseRPSSession] [-ExchangeEnvironmentName <Value>] [-ShowBanner:$false] [-DelegatedOrganization <String>] [-PSSessionOption $ProxyOptions]
2) Check if SMTP AUTH is enabled for the whole tenant
Code: Select all
Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled
Code: Select all
Set-TransportConfig -SmtpClientAuthenticationDisabled $true
3) Enable (or disable) SMTP AUTH for a specific mailbox
Code: Select all
Set-CASMailbox -Identity <MailboxIdentity> -SmtpClientAuthenticationDisabled <$true | $false | $null>