How to configure Office365 in AX2012 R2 Email setup.

Has any one configured the Office365 in AX2012 R2 in the email setup. I am facing the issues as i am getting the following error when i configure the settings then when i test it gives me the following error.

Exception has been thrown by the target of an invocation.

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

Please if some one already configured the same do share your experience so that i can fix the issue.

Appreciate any help in this regards.

See Ansel Slagle’s reply (last reply on the page) here
community.dynamics.com/…/91673