Microsoft Work Account

Harentsoa RANDRIAMAHOLIMANANA 40 Reputation points

Hi everybody.
I have an work account that i want to setup through my webmails using office365 imap and smtp but i'm not able to connect to the account even if the credentials looks all correct .

The error looks like:
IMAP Error: Login failed for against AUTHENTICATE PLAIN: AUTHENTICATE failed


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.
2,708 questions
Microsoft Exchange Online
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
4,513 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,175 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,605 questions
0 comments No comments
{count} votes

Accepted answer
  1. Schneider, Tobias 1,125 Reputation points

    Hello @Harentsoa RANDRIAMAHOLIMANANA ,

    standard authentication is now disabled in all clients. Before December 31, 2022, you could re-enable the affected protocols if users and apps in your tenant could not connect. Now no one (you or Microsoft Support) can re-enable Basic Authentication in your tenant. You can find more information on setting basic authentication in Exchange Online in the following article.

    Basic Authentication Deprecation in Exchange Online - Time's Up:

    The "SMTP" protocol is not affected by this and can still be used. However, you must ensure that SMTP authentication is activated for the mailbox used. SMTP AUTH is disabled for organizations created after January 2020, but can be enabled per mailbox. You can find out how this works in the following article.

    Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online:

    To configure your device or application, connect directly to Microsoft 365 or Office 365 using the SMTP AUTH client delivery endpoint Each device or application must be able to authenticate with Microsoft 365 or Office 365. The e-mail address of the account used for authentication with Microsoft 365 or Office 365 is displayed as the sender of the messages from the device or application.

    User's image

    If this is helpful, please accept the answer. Thank you.

    0 comments No comments

0 additional answers

Sort by: Most helpful