Query on Basic Authentication

Rising Flight 6,176 Reputation points
2023-12-21T04:52:30.6633333+00:00

Hi All

i am using exchange online relay i.e smtp.office365.com with port 587 and a service account in an application but application is not triggering any email. Does it come under basic authentication. Do i need to use Modern authentication. Do it come under version1 method of authentication which is not supported by microsoft. i remember few months back i got a notification that basic authentication will be disabled on our tenant. Experts guide me.

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Other
Exchange | Exchange Server | Other
A robust email, calendaring, and collaboration platform developed by Microsoft, designed for enterprise-level communication and data management.Miscellaneous topics that do not fit into specific categories.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Exchange | Hybrid management
Exchange | Hybrid management
The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
{count} votes

Answer accepted by question author
  1. Yuki Sun-MSFT 41,451 Reputation points Moderator
    2023-12-21T08:25:39.4933333+00:00

    Hi @Rising Flight

    The recommended practice is using Modern Authentication when connecting with Microsoft 365 service, but according to the official article, "there are no plans to disable Basic Authentication for SMTP AUTH clients at this time.". So, it doesn't appear to be the cause in your case.
    User's image

    With the above being said, it's recommended to go through the instructions in the document below and double confirm if all the requirements have been met for this setup to work.
    How to set up a multifunction device or application to send emails using Microsoft 365 or Office 365

    And if it still doesn't work, you can also take a look at the other methods provided in the above link to send emails from the application.


    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Abdulrahman Alkaderi 0 Reputation points
    2023-12-21T09:38:47.4066667+00:00

    It appears that you are using Exchange Online for SMTP relay with a service account in your application, and you are concerned about the authentication method being used. As of my last knowledge update in January 2022, Microsoft has been moving towards modern authentication and phasing out basic authentication for better security.

    Here are some considerations and recommendations:

    Modern Authentication:

    • Microsoft strongly recommends using modern authentication for improved security. Modern authentication supports features like multi-factor authentication (MFA) and provides a more secure and flexible authentication mechanism.

    Basic Authentication Deprecation:

    • Microsoft has announced plans to deprecate basic authentication for various services, including Exchange Online. While specific timelines may vary, it's crucial to be aware that Microsoft is encouraging users to transition to modern authentication.

    SMTP Relay with Service Account:

    • If your application is not triggering emails, ensure that the service account and application are configured correctly. Check if the service account has the necessary permissions for SMTP relay in Exchange Online.

    Application Support for Modern Authentication:

    • Verify if your application supports modern authentication. Some older applications might need updates to support modern authentication protocols like OAuth 2.0.

    Tenant-Specific Information:

    • Check for any specific notifications or announcements in your Microsoft 365 Admin Center related to the deprecation of basic authentication in your tenant. Microsoft typically provides guidance on such changes.

    To get the most accurate and up-to-date information, I recommend checking the latest Microsoft documentation, especially the Exchange Online and authentication-related articles. Additionally, consider reaching out to Microsoft support or community forums for assistance tailored to your specific environment and configuration.

    0 comments No comments

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.