Error while setting up Email Parameters in D365

Mateen Ahmed 0 Reputation points

When I try to add the username and password in email parameters and test the connection in D365 it shows me the following error although my username and password are correct.

Mail authentication failed. Please verify your SMTP user name and password. If your SMTP server doesn't support authentication, please clear the SMTP user name and password. Server using SSL/TLS supports the following authentication options: LOGIN, XOAUTH2.

How can I make it work?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,397 questions
Windows 365 Enterprise
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 40,706 Reputation points Microsoft Vendor

    @Mateen Ahmed, Thanks for posting in Q&A. From your description, it seems the issue is related with Dynamic 365 and Microsoft 365. To get correct support, you can contact Dynamic 365 support or Microsoft 365 support in the following link:

    Dynamic 365 support:,participate%20in%20discussions%20in%20the%20Dynamics%20365%20Community.

    Microsoft 365 support

    Thanks for your understanding.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.