Microsoft Work Account

Harentsoa RANDRIAMAHOLIMANANA 40 Reputation points
2023-11-08T06:16:53.6833333+00:00

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 myaccount@domain.com against outlook.office365.com AUTHENTICATE PLAIN: AUTHENTICATE failed

Thanks

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.
4,342 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.
6,120 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,409 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,576 questions
0 comments No comments
{count} votes

Accepted answer
  1. Schneider, Tobias 1,135 Reputation points
    2023-11-10T19:47:33.6333333+00:00

    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: https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-time-s-up/ba-p/3695312

    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: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission

    To configure your device or application, connect directly to Microsoft 365 or Office 365 using the SMTP AUTH client delivery endpoint smtp.office365.com. 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