Share via

Not able to send mail from personal Outlook mailbox.

Hardik Jogadiya 0 Reputation points
2026-03-05T07:31:01.8566667+00:00

I have created mail and want to send mail from it. I have tried sending the mail using OAuth 2.

But, below mentioned error is encountered.
535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Mailbox. Visit https://aka.ms/smtp_auth_disabled for more information.

I have tried below method, but same error is generated.

  1. Disable / Enable multifactor authentication (MFA) on the mailbox.
  2. Disable the Azure Security Defaults by toggling the Enable Security Defaults to No.

Also, found below approach, but is not present in personal account.

  1. In the Microsoft 365 Admin Center, make sure "Authenticated SMTP" is enabled. (M365 admin center > Settings > Org Settings > Services > Modern authentication)
  2. If SMTP authentication is disabled globally, you can enable it for specific mailboxes:
  • Go to **** M365 admin center **** > UsersActive users
    • Select the specific user > Mail > Manage email apps
    • Verify the Authenticated SMTP setting: unchecked = disabled, checked = enabled.
    • When you're finished, select Save changes.
Outlook | Web | Outlook.com | Email
0 comments No comments

1 answer

Sort by: Most helpful
  1. Chloe-V 7,255 Reputation points Microsoft External Staff Moderator
    2026-03-05T12:10:12.0533333+00:00

    Hi Hardik Jogadiya,

    Welcome to Microsoft Q&A forum.

    The error that you are seeing indicates that the server is rejecting SMTP AUTH for that mailbox.

    If this is a personal Outlook.com account (For example: @outlook.com/@hotmail.com), you will not have the Microsoft 365 Admin Center "Authenticated SMTP" switch because those settings apply to Exchange Online tenants.

    For personal Outlook.com mailboxes, the supported approach for app/script sending is OAuth2 for SMTP: register the app, obtain access token and authenticate using SASL XOAUTH2 with the scope "https://outlook.office.com/SMTP.Send". 

    For your reference: Authenticate an IMAP, POP or SMTP connection using OAuth

    If your sending tool cannot do OAUTH2/XOAUTH2, you will need to use Outlook web/app or switch to a client that supports OAuth2 SMTP

    For conveniences, please kindly send your domain here on the comment or send via the Private Message.

    User's image

    Thank you so much and I hope you have a great day.


    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.