Office 365 login in SMTP Cloudways

Is it possible to use office365 SMTP with cloud ways instead of add-on plugin in Wordpress? I am unable to use it while gmail works faultlessly I am unwilling to change to gsuite. Cloudways support says you need to contact office365 while Wordpress plugin works good. But using Smtp plugin makes it slow. Any suggestion will be grateful.

Screenshot

Does anyone use office 365in smtp?

tried configuring again. The problem is now solved. Seems cloudways rectified the problem