
PowerShell Microsoft Graph
Moving on from Send-MailMessage: Sending Email from PowerShell using the Graph API
Many PowerShell scripts use the Send-MailMessage cmdlet to send mail. That's fine, but if you want to remove basic authentication to improve tenant security, you need to stop using Send-MailMessage.
June 8, 2021