Skip to main content
Question

Emailer - Microsoft Email Service - Unable to retrieve access token

  • October 16, 2024
  • 5 replies
  • 149 views

riain.garcia
Contributor
Forum|alt.badge.img+3

I’ve been successfully utilising the Microsoft Email Service via the Emailer transformer for sometime - I noticed last week that all emails scheduled to run via FME flow stopped working, and when I opened the workspaces to reauthorise Microsoft, I was met with the following error:

 

“Unable to retrieve access token

Request to update access token failed. HTTP Error: HTTP/1.1 401 Unauthorized”

 

My IT department can see on their end that the logins have been successful via FME Emailer Enterprise Application on Azure.

 

 

5 replies

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • October 16, 2024

A 401 response indicates that the authentication portion of the request failed - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

 

Are your credentials correct?


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • October 16, 2024

I would suggest that you probably need to watch all the calls and responses with something like fiddler, to understand where in the multiple calls it is actually failing. Especially, if IT department says that one of the calls is authenticating.


riain.garcia
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • October 16, 2024
hkingsbury wrote:

A 401 response indicates that the authentication portion of the request failed - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

 

Are your credentials correct?

Yes they are, it fails post multi authentication


riain.garcia
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • October 16, 2024
todd_davis wrote:

I would suggest that you probably need to watch all the calls and responses with something like fiddler, to understand where in the multiple calls it is actually failing. Especially, if IT department says that one of the calls is authenticating.

for clarification, it's failing during Microsoft connection login, before any calls take place


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • October 16, 2024
riain.garcia wrote:
todd_davis wrote:

I would suggest that you probably need to watch all the calls and responses with something like fiddler, to understand where in the multiple calls it is actually failing. Especially, if IT department says that one of the calls is authenticating.

for clarification, it's failing during Microsoft connection login, before any calls take place

Yes, its those calls to the Microsoft connection login that I think you should be looking at (the ones that you don’t see in any log file in FME)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings