Skip to main content
Solved

FME Server Email Authentication OAUTH

  • November 14, 2022
  • 2 replies
  • 161 views

warrendev
Enthusiast
Forum|alt.badge.img+26

We recently upgraded to FME Server 2022.2 and were having issues adding an emailer to an FME Automation. After inserting an emailer within an Automation, we are receiving an error when attempting to validate the email after putting in the Client ID of the app registration that we created within Azure Active Directory App Registration.

 

We are receiving this error when validating:

fme_error 

Is there a walkthrough going over the new Microsoft Office365 email authentication within FME Server? I see the FME Desktop emailer has been updated to use a web connection, and I'm able to successfully create this web connection and send an email, but still having issues within FME Server email automation.

Best answer by warrendev

Hi @keziaatsafe,

 

I did have the setting to allow public client flows, but I had forgot to add the permission for SMTP. After adding that permission, and IMAP for email polling, everything works great! Thanks for the help.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

keziaatsafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 153 replies
  • November 16, 2022

Hi @Chris Warren​ ,

Can you try changing this setting in your Azure App and see if it works after?

https://stackoverflow.com/questions/45609432/how-do-i-resolve-the-error-aadsts7000218-the-request-body-must-contain-the-foll

Or please find and modify a setting called “allow public client flows” to Yes, this should restored your ability for Server to retrieve the emails via IMAP.

 

Hope this helps!

Kezia


warrendev
Enthusiast
Forum|alt.badge.img+26
  • Author
  • Enthusiast
  • 121 replies
  • Best Answer
  • November 18, 2022

Hi @keziaatsafe,

 

I did have the setting to allow public client flows, but I had forgot to add the permission for SMTP. After adding that permission, and IMAP for email polling, everything works great! Thanks for the help.