Setting email settings to send through O365

Setting email settings to send through O365

We recently moved our email to O365. I'm trying to set up the email settings on my Endpoint Central server. I have configured the settings as follows:
Server Name: smtp.office365.com
Port: 587
Sender Name: Endpoint Central
Sender Address: endpointcentral@***.com (This address is a licensed user on O365)
Test Address: my own
Email Type: SMTP
Enable TLS: Yes
Requires Authentication: Checked
Username and Password: My global administrator account

When I test the email, it returns "Unable to send mail; authentication failed".

I have tried changing the email type to SMTPS, then I get an incorrect port error. I have tried turning off TLS and also unchecking Requires Authentication. Changing either or both of those fails. What am I missing?

                  New to ADSelfService Plus?