IBM Support

Encountered error processing e-mails from mail server. javax.mail.MessagingException: A3 BAD User is authenticated but not connected, when configuring E-mail Listener with Oauth

Question & Answer


Question

What does it mean the error Encountered error processing e-mails from mail server. javax.mail.MessagingException: A3 BAD User is authenticated but not connected in log file when you are configuring E-mail Listener with Oauth?
image-20230517152647-1

Answer

This error is related to the authentication step when you generate a refresh token. After you run the script, an authentication window opens and you need to proceed including the listener account that was configured in Azure previously. A different account generates a bad refresh token. 
Follow strictly the steps mentioned in this technote and check the compatibility between credential values in Azure and script values:

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbU1AAK","label":"System Administration-\u003EE-Mail Listeners"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1"}]

Document Information

Modified date:
24 May 2023

UID

ibm16995309