O365 connect to exchange online with powershell and Enable SMTP AUTH for specific mailboxes
Connect-ExchangeOnline -UserPrincipalName <e-mail> Set-CASMailbox -Identity backup@domain.com -SmtpClientAuthenticationDisabled $false Enable or disable SMTP AUTH in Exchange Online | Microsoft Docs