Exchange Online Enable SMTP AUTH

第一步,https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps,安装 EXO V2 mode

第二步:Set-ExecutionPolicy RemoteSigned

第三步:Install-Module -Name ExchangeOnlineManagement (https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps)

第四步:Import-Module ExchangeOnlineManagement

第五步:Connect-ExchangeOnline -UserPrincipalName howard.wen@heinetworx.com

第六步:Set-TransportConfig -SmtpClientAuthenticationDisabled $false (https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps

留下评论