Getting error in Microsoft flow using SMTP.

Microsoft Q & A 386 Reputation points
2022-06-19T18:39:41.767+00:00

Getting below error while creating a flow.
authentication failed. Please check your connection parameters. When you use 2-step verification, connector may be blocked from accessing your account. If this is a case , please try to create and use an app password. Otherwise , turn on access for less secure apps.212754-inkedmicrosoftteams-image-8-li.jpg

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.
{count} votes

Answer accepted by question author
  1. Joyce Shen - MSFT 16,701 Reputation points
    2022-06-21T02:39:31.19+00:00

    Hi @Microsoft Q & A

    Are you using this: Option 1: Authenticate your device or application directly with a Microsoft 365 or Office 365 mailbox, and send mail using SMTP AUTH client submission
    213116-image.png

    Set-CASMailbox -Identity ******@contoso.com -SmtpClientAuthenticationDisabled $false  
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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. risolis 8,801 Reputation points
    2022-06-19T18:47:27.437+00:00

    Hello @Microsoft Q & A

    Thank you for your feedback.

    I wonder if you have reviewed this article below for SMTP scenarios:

    https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission

    Best Regards,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.