Skip to main content

Hi, I am using the Email(Send) action within an Automation but am unable to get it to work.

I am using: smtp.office365.com on port 587 and StartTLS encryption.

The office365 email account has MFA enabled and so I am using an App password.

I am able to use the same configuration within the FME Desktop Emailer transformer just fine - but the same parameters do not work within the FME Cloud automation.

Error message is:

"com.microsoft.aad.msal4j.MsalInteractionRequiredException: AADSTS50126: Error validating credentials due to invalid username or password"

My FME Cloud instance is running "FME Server 2022.2.1 Build 22776 - linux-x64"

I have also supplied an App Client ID by registering an App within am Azure AD as described in this article but it does not resolve this issue:

https://community.safe.com/s/article/How-to-use-Microsoft-Modern-Authentication-with-FME#ForServer

Any Ideas?

Thanks

You might need to look at producing an app password on 365 (assuming it supports that)


You might need to look at producing an app password on 365 (assuming it supports that)

Thanks, but as mentioned above I am already using an App password. The settings that work fine in the Emailer Transformer do not work within the Automations Send Email action.


Hi @spatialcase​ ,

Is the account using federated authentication? Looking at some resources online, the error you're receiving may be related to this. The resources below have some workaround to try.

 

 

Hope this helps!

Kezia


Thanks, but as mentioned above I am already using an App password. The settings that work fine in the Emailer Transformer do not work within the Automations Send Email action.

Sorry, I missed that re the app password - seconding what Kezia has said below


Reply