Sorean's Virtual Home

Office 365

Onsite SMTP Relay to Office 365 – 535 5.7.3 Authentication unsuccessful

by on Nov.17, 2020, under IIS, Office 365

This is due to SMTP client Auth flag not allowing this type of connection.

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell-liveid?DelegatedOrg=<[email protected]> -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking

Set-TransportConfig -SmtpClientAuthenticationDisabled $false

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...