Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
I tried this. I was using smtp.office365.com and port 587. However I switched to [domain].mail.protection.outlook.com and port 25 as advised and now I see this error:
The SMTP server does not support authentication.
This seesm to have occurred after I enabled "secure defaults" in Azure AD. I have enabled SMTP Authentication for the domain user's mail box who I am attempting to authenticate with.
Do I need to also turn SMTP auth on at the organisation / tenant level?
Update: it looks like this person encountered the same issue and found a solution:
I'll create a seperate answer.