Added an Office 365 email account for the email channel

Technology Department - ESI May 2, 2018

I'm trying to add an Office 365 email account (It's a regular email account not a shared one)

I've verified the username and password and keep getting this message:

 

Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "AUTHENTICATE failed." Check out our troubleshooting docs for help resolving the issue.

Didn't find anything in regards to connecting to an Office 365 account in the troubleshooting docs?

9 answers

1 vote
Nick Cloostermans
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 18, 2019

hi,

Just use:

- full email as username

- smtp.office365.com

- secure imap

Works without an issue.

0 votes
Technology Department - ESI December 5, 2018

For my service desk I ended up using a internal smtp server to get email working on it. For another application I used option 2 on this page  https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3 

To get direct send to work. Might be worth a try for you. At some point I'll be revisiting this and trying option 2 on my service desk. 

0 votes
Ben Solomon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2018

Exact same issue.

Has anyone found a solution to this issue?

0 votes
Adam Schappell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2018

The same thing is happening to me. Has anyone found a solution to this?

0 votes
Technology Department - ESI May 3, 2018

On regular IMAP I get this:

Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "No login methods supported!" Check out our troubleshooting docs for help resolving the issue.

On POP:

Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "Command is not valid in this state." Check out our troubleshooting docs for help resolving the issue

Zack Smith June 18, 2018

same errors! It is infuriating and if I manage to find a solution I will be sure to add it here.  

0 votes
Sergey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

@Technology Department - ESI are you using SECURE IMAP? If so, is port 993 open between the JIRA server and Office365 mail server? Also I would try POP3 and plain IMAP to see if that's not the SSL/TLS that's causing the issue

0 votes
Technology Department - ESI May 2, 2018

IMAP is enabled. 

 

@Sergey The first article is for outgoing mail that part is working for it as I set it to an internal smtp server.  

I'm trying to get the email channel for the incoming to take the office 365 email account. 

I saw the issues for shared accounts so I created an account for it. 

Ben Kelley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

If you can configure another email client to use IMAP to read email from Office 365, then the settings should be similar. The email channel will try to log in to IMAP as you, and see if there are any unread messages in your inbox. That error message sounds like it connected, but couldn't log in.

Another thing to check is if you have 2FA turned on. I'm not sure if Office 365 supports that, but if would need to be off for the account you are using.

0 votes
Sergey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

HI Mark,

Configuring Office365 can be tricky.

Take a look at these articles:

https://confluence.atlassian.com/jirakb/office365-smtp-configuration-receives-authentication-errors-646250764.html

https://confluence.atlassian.com/bamkb/notification-emails-not-being-sent-with-office365-mail-server-915154357.html

 

By the look of it sounds like the first articles is a good match.

 

Try using your full email address as username and see how you go. :)

 

Cheers,

Sergey

0 votes
Ben Kelley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2018

Do you have IMAP enabled for your user from the Office 365 side?

If you can connect to your account using IMAP, then the settings should be the same in Jira.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events