Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,732
Community Members
 
Community Events
184
Community Groups

Unable to add Incoming Mail (POP/IMAP) Mail server on v8.5.4

Edited

I am using Atlassian Jira Project Management Software v8.5.4.

I cannot authenticate our Microsoft 365 email account inside JIRA setting.

Incoming Mail > POP/IMAP Mail Servers > Add POP/IMAP mail server

Error 

Unfortunately no connection was possible. Review the errors below and rectify:

  • AuthenticationFailedException: AUTHENTICATE failed.

 

1 answer

1 accepted

2 votes
Answer accepted
Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 21, 2023

Hi Danny,

Welcome to Atlassian community!

Can you check Jira log file? There is more information about the problem. You can check this Atlassian article - IMAP setup fails with AUTHENTICATE Failed error in logs in Jira server when using OAuth or you can check another Community threat - AuthenticationFailedException: AUTHENTICATE failed during test of OAuth2.0 Exchange connection 

Cheers!

Pavel

HI Pavel,

Please see the logs. I am still having issue. I would appreciate step by steps guide.

 

atlassian-jira-incoming-mail.log

2023-04-20 11:40:39,598+0800 ERROR [] Caesium-1-2 ServiceRunner     Messaging Error when MailPullerWorker pulls emails from account@example: AUTHENTICATE failed.

2023-04-20 11:40:40,864+0800 ERROR [] Caesium-1-2 ServiceRunner     Messaging Error when MailPullerWorker pulls emails from account@example: AUTHENTICATE failed.

 

atlassian-jira.log

2023-04-20 11:45:03,113+0800 http-nio-8080-exec-19 ERROR test 705x5125272x1 1oqlzar 192.168.0.3,0:0:0:0:0:0:0:1 /test/admin/VerifyPopServerConnection!update.jspa [c.a.j.p.mail.webwork.VerifyMailServer] Unable to connect to the server at outlook.office365.com due to the following exception: javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
[root@test log]#

Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 21, 2023

Hi Danny,

it looks like firewall issues or login/password issue.

You can try check firewall -> test via command telnet outlook.office365.com 995 from server side.

Source: https://community.atlassian.com/t5/Jira-questions/JIRA-couldn-t-connect-to-outlook-office365-com-Check-and-make/qaq-p/1768175 

Pavel

Hi Pavel,

There is no issue with firewall and connection to Microsoft is working.

[root@test test]# telnet outlook.office365.com 993
Trying 40.99.10.18...
Connected to outlook.office365.com.

 

We are using Jira v8.5.4

Can you confirm this version can authenticate Microsoft365 account? 

Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 24, 2023

Hi Danny,

Thank you for your information.
Unfortunately, I am not able to confirm whether your Jira can connect to Office 365, but I think it shouldn't be a problem.

Are you entering the wrong credentials?

You can try to contact the official Atlassian support. But your version of Jira is already very outdated (EOL).

Pavel

Hi Pavel, Atlassian support is not supporting us anymore since we don't have active contract. Any other idea in your mind? we are pretty much on our own.

Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 29, 2023

Hi Danny,

Ah, I see. Thank you for info. 

It seems, Microsoft disable Basic authentication for mail configuration and you need configure incoming mail only through OAuth 2.0

I found this Atlassian article . Unfortunately, Atlassian add support for OAuth 2.0 since Jira 8.5.9 (+ other add functionality since Jira 8.5.12) (Jira 8.5 was LTS Jira version).

Officially was support for OAuth 2.0 in mail handlers has been shipped within Jira 8.10

So my guess is that you won't be able to connect to Microsoft 365 without the upgrade in Jira 8.5.4 version.

Pavel

HI Pavel, thanks for information. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events