Question

IFS Cloud smtp.office365.com

  • 29 February 2024
  • 5 replies
  • 64 views

Userlevel 5
Badge +11

Hello, 

Getting following error on IFS Cloud mail sender. we are using Basic authentical type with

smtp.office365.com as smtp host

and port - 587

Security Protocol SMTP+STARTLS

-- The email account is configured with MFA.

Please suggest

Regards

Pankaj

ExecutionException from Sender thread Caused by: ifs.fnd.connect.senders.ConnectSender$PermanentFailureException: Fatal error while sending data... Caused by: javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [MI1P293CA0014.ITAP293.PROD.OUTLOOK.COM 2024-02-29T07:55:32.880Z 08DC3842F079C9D1]


5 replies

Userlevel 2
Badge +10

Hi,

Do you have access to the Office365 administration?  I think you’ll have to disable multi-factor authentication for the email account being used when using basic authentication.

Best regards,

Marion

 

Userlevel 5
Badge +11

@MMcK ,

thanks for your reply. we dont want to disable multi factor authentication

regards

Pankaj

Userlevel 6
Badge +18

You need to setup a Service Account bypassing MFA as in theory this account isn’t attached to a real person to pass MFA.

Userlevel 5
Badge +11

Thnks @Srikanth , but the requirement is for account with MFA. 

Please suggest

Userlevel 2
Badge +6

I think you should skip MFA when request comes from the middletier ip adress. This can be done in Azure.

Reply