Share via

SMTP Email Sending Issue with MFA on a Service Account in Microsoft 365 Business Premium

DNovokhatskyi 0 Reputation points
2024-04-04T08:55:15.25+00:00

I have a Microsoft 365 Business Premium subscription, and I'm facing an issue with a service mailbox that has an Exchange Online Plan 1 license. This mailbox needs to send emails via SMTP. However, even though Multi-Factor Authentication (MFA) is enabled for all users in Entra (formerly known as Azure Active Directory), the option to "create app password" is missing.

Attempting to disable MFA for this specific mailbox does not bypass the requirement; MFA prompts still occur. I need to either generate an app password for this service mailbox or completely disable MFA to allow SMTP email sending. How can this issue be resolved?

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 159.9K Reputation points MVP Volunteer Moderator
    2024-04-04T10:35:04.63+00:00

    How is MFA implemented?

    By Security Defaults: You would need to disable it entirely ( not recommended)

    With a Conditional Access Policy? Exclude the mailbox from the policy

    per user? Disable the per user option for that mailbox

    You would also need to verify that MFA registration is disabled for that mailbox

    App passwords do not work with modern auth: https://learn.microsoft.com/en-us/entra/identity/authentication/howto-mfa-app-passwords

    Best solution: Leave MFA as is for all users and send email using an OAuth App instead:

    https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth


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.