SMTP XOAUTH2 Authentication Problem for GoDaddy accounts

Vladimir Luchkin 1 Reputation point

Dear Sir/Madam,

We are following Microsoft authentication instructions to connect with IMAP, POP or SMTP here
After OAuth authentication we receive tokens for the following scopes:

IMAP connection works fine, but we have issues with SMTP.
We connect to server, port 587, using STARTTLS protocol.
When attempting to authenticate using standard format AUTH XOAUTH2 <base64 string in XOAUTH2 format> we get error: “NO AUTHENTICATE failed.”.
When attempting to authenticate by 2 consecutive requests, we get the following error:
C: auth xoauth2
S: 334
C: <base64 string in XOAUTH2 format>
S: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.

It is important to note, that this problem only occurs for accounts with domains other than For example, for accounts migrated from GoDaddy (<user_name>, where "<user_name>" is a mailbox name on “" domain).

Please help us to understand how we can resolve these errors.
Thank you!

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,365 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Aholic Liang-MSFT 9,171 Reputation points Microsoft Vendor

    Hi @Vladimir Luchkin ,

    535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.

    Please have a check that mailboxes migrated from externally have authenticated SMTP enabled.
    If not, you could refer to the following steps to enable SMTP AUTH on specific mailboxes. Then try again to see if the authentication was successful.

    1. Open the Microsoft 365 admin center and go to Users > Active users.
    2. Select the user, and in the flyout that appears, click Mail.
    3. In the Email apps section, click Manage email apps.
    4. Verify the Authenticated SMTP setting:
    5. Check Authenticated SMTP to enable it.
    6. When you're finished, click Save changes.


    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.